Here is its original code (A610 1.00E - first CHDK camera) - called at end of 'Bye' task:
ROM:FFC124EC sub_FFC124EC
ROM:FFC124EC STR LR, [SP,#-4]!
ROM:FFC124F0 BL GetSRAndDisableInterrupt
ROM:FFC124F4 MOV R3, #0xA0
ROM:FFC124F8 ADD R3, R3, #0xC0000000
ROM:FFC124FC ADD R3, R3, #0x220000
ROM:FFC12500 MOV R2, #0x44
ROM:FFC12504 STR R2, [R3]
ROM:FFC12508
ROM:FFC12508 loc_FFC12508
ROM:FFC12508 B loc_FFC12508
Very easy to find it using 0xEAFFFFFE binary search (this is opcode of 'forever loop').
I think that 0xC02200A0 is not LED, but 'power switch' - disconnects batteries from camera, or stops DC-DC converter, or someting like this.
p.s. For a710 this function is more complex:
ROM:FFC12D38 sub_FFC12D38
ROM:FFC12D38
ROM:FFC12D38 STR LR, [SP,#-4]!
ROM:FFC12D3C BL intLock_1
ROM:FFC12D40 MOV R1, #0xC0000000
ROM:FFC12D44 ADD R1, R1, #0x410000
ROM:FFC12D48 LDR R2, [R1]
ROM:FFC12D4C MOV R3, #0xA0
ROM:FFC12D50 ADD R3, R3, #0xC0000000
ROM:FFC12D54 BIC R2, R2, #1
ROM:FFC12D58 ADD R3, R3, #0x220000
ROM:FFC12D5C MOV R0, #0x44
ROM:FFC12D60 STR R2, [R1]
ROM:FFC12D64 STR R0, [R3]
ROM:FFC12D68
ROM:FFC12D68 loc_FFC12D68
ROM:FFC12D68 B loc_FFC12D68
0xC0410000 is watchdog register.