kernel icon indicating copy to clipboard operation
kernel copied to clipboard

headset_observe: Fix system resume with headset insert could not sche…

Open evan0105 opened this issue 4 years ago • 0 comments

…dule delayed work

On my test: platform:rk3326 step by step: 1.poweron 2.evtest /dev/input/event3 # because on my board event3 is headset input event node 3.test press & release button on headset 4.evtest could output EV_KEY & code value and other infos 5.echo mem > /sys/power/state # make board system suspend 6.press power button to make board resume 7.retry 3th step 8.evtest couldn.t output anything, but replug headset could make evtest output back to normal. Therefore: add judge headset state when system resume after suspend

Change-Id: I58ddeaaccbb3471b46ff29dc0680d8ab58afcb0b Signed-off-by: evan [email protected]

evan0105 avatar Sep 04 '21 05:09 evan0105