aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAmadeusz Sławiński <[email protected]>2022-07-07 14:56:58 +0200
committerMark Brown <[email protected]>2022-07-11 14:59:07 +0100
commitc0c5a242bba878b4d34f7c9612fd6cd6c404d414 (patch)
treeb45fea2c4b407ea9226a5efb6de7bceea1e6dc36 /tools/perf/scripts/python/event_analyzing_sample.py
parent9b6803ec1fe0f10942b9297d2d60ec46f2999323 (diff)
ASoC: codecs: rt298: Fix jack detection
On our RVP platforms using rt298 with combojack we've seen issues with controls being in incorrect state after suspend/resume cycle. This is caused by codec driver not setting pins to correct state and causing codec suspend method to not be called. Which on resume caused codec registers to be in undefined state. Fix this by setting pins correctly in jack detect function. Above problem is caused by the fact that when jack == NULL code doesn't reach rt298_jack_detect() function which sets pins. Alternatively problem could be fixed by just moving rt298_jack_detect, but as rt298 codec is similar to rt286, align the code by setting pins explicitly. Signed-off-by: Amadeusz Sławiński <[email protected]> Reviewed-by: Cezary Rojewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions