Skip to content

ASoC: rt700/711: Add pin sense check during jack type detection - #1605

Merged
plbossart merged 2 commits into
thesofproject:integration/realtek-sdw-codecsfrom
shumingfan:integration/realtek-sdw-codecs
Dec 9, 2019
Merged

plbossart merged 2 commits into
thesofproject:integration/realtek-sdw-codecsfrom
shumingfan:integration/realtek-sdw-codecs

Conversation

@shumingfan

Copy link
Copy Markdown

ASoC: rt700: Add pin sense check during jack type detection
ASoC: rt711: Add pin sense check during jack type detection

To avoid IO error, the codec driver needs to check the pin sense
during jack type detection.
Due to the jack type detection will take some times in the loop,
in case the jack is removed during this time, then the driver goes into suspend mode.
The IO error will occur in the rest of process.

To avoid IO error, the codec driver needs to check the pin sense
during jack type detection.
Due to the jack type detection will take some times in the loop,
in case the jack is removed during this time, then the driver goes into suspend mode.
The IO error will occur in the rest of process.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
To avoid IO error, the codec driver needs to check the pin sense
during jack type detection.
Due to the jack type detection will take some times in the loop,
in case the jack is removed during this time, then the driver goes into suspend mode.
The IO error will occur in the rest of process.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
@plbossart

Copy link
Copy Markdown
Member

Thanks for the fix @shumingfan !

@plbossart
plbossart merged commit 88831c8 into thesofproject:integration/realtek-sdw-codecs Dec 9, 2019
@shumingfan
shumingfan deleted the integration/realtek-sdw-codecs branch September 24, 2020 06:53
@shumingfan
shumingfan restored the integration/realtek-sdw-codecs branch September 24, 2020 06:53
@shumingfan
shumingfan deleted the integration/realtek-sdw-codecs branch April 20, 2022 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants