Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f4e0c7e1 authored by Vatsal Bucha's avatar Vatsal Bucha Committed by Gerrit - the friendly Code Review server
Browse files

soc: swr-mstr: Fix random headset detection issue on scuba



When headset is inserted and reboot device sometimes
headset is not detected after reboot as host_irq from
swr slave gets masked. This is because of cmd error seen
after clearing all irq which results in fifo flush.
Read swrslave irq before clearing so as to resolve cmd error.
Also enable slave irq only after clearing enum interrupt at
master which results in proper enabling of irq.

Change-Id: Id66029c65c4d813391bfeb8c0c619560f298eeab
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 71523927
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment