ASoC: harden SoundWire codec/machine drivers used on Intel platforms
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | ASoC: Realtek/Maxim SoundWire codecs: disable pm_runtime on removesound/ sound/ sound/ +6 more | +76 | 0 replies | |
| 2/7 | ASoC: rt711-sdca-sdw: fix calibrate mutex initializationsound/ sound/ | +4 | 0 replies | |
| 3/7 | ASoC: Intel: sof_sdw: handle errors on card registrationsound/ | +29 | 0 replies | |
| 4/7 | ASoC: rt711: fix calibrate mutex initializationsound/ sound/ | +4 | 0 replies | |
| 5/7 | ASoC: rt7*-sdw: harden jack_detect_handlersound/ sound/ sound/ | +3 | 0 replies | |
| 6/7 | ASoC: codecs: rt700/rt711/rt711-sdca: initialize workqueues in probesound/ sound/ sound/ | +13 | 0 replies | |
| 7/7 | ASoC: codecs: rt700/rt711/rt711-sdca: resume bus/codec in .set_jack_detectsound/ sound/ sound/ | +40 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Rander Wang | Bard Liao |
|---|---|---|
| 1/7 | R-b | R-b |
| 2/7 | R-b | R-b |
| 3/7 | R-b | R-b |
| 4/7 | R-b | R-b |
| 5/7 | R-b | R-b |
| 6/7 | R-b | R-b |
| 7/7 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] ASoC: harden SoundWire codec/machine drivers used on Intel platforms
While testing fixes for SoundWire race conditions initially reported in [1], I found additional issues in codec drivers. When the order in which drivers are probed is changed, multiple errors are reported, from unbalanced pm_runtime_enable() calls to invalid mutex lock magic numbers, workqueues not initialized and missing resume sequences.
In 'nominal' usages, there is no change of functionality, this is just a first step to test random device/driver bind/unbind sequences.
Important note: these changes only touch Intel-based platforms, I don't have any background and ability to test on Qualcomm-based devices.
[1] https://lore.kernel.org/alsa-devel/[email protected]/
Pierre-Louis Bossart (7):
ASoC: Realtek/Maxim SoundWire codecs: disable pm_runtime on remove
ASoC: rt711-sdca-sdw: fix calibrate mutex initialization
ASoC: Intel: sof_sdw: handle errors on card registration
ASoC: rt711: fix calibrate mutex initialization
ASoC: rt7*-sdw: harden jack_detect_handler
ASoC: codecs: rt700/rt711/rt711-sdca: initialize workqueues in probe
ASoC: codecs: rt700/rt711/rt711-sdca: resume bus/codec in
.set_jack_detect
sound/soc/codecs/max98373-sdw.c | 12 +++++++- sound/soc/codecs/rt1308-sdw.c | 11 +++++++ sound/soc/codecs/rt1316-sdw.c | 11 +++++++ sound/soc/codecs/rt5682-sdw.c | 5 ++- sound/soc/codecs/rt700-sdw.c | 6 +++- sound/soc/codecs/rt700.c | 30 +++++++++++------- sound/soc/codecs/rt711-sdca-sdw.c | 9 +++++- sound/soc/codecs/rt711-sdca.c | 40 ++++++++++++------------ sound/soc/codecs/rt711-sdw.c | 9 +++++- sound/soc/codecs/rt711.c | 40 ++++++++++++------------ sound/soc/codecs/rt715-sdca-sdw.c | 12 ++++++++ sound/soc/codecs/rt715-sdw.c | 12 ++++++++ sound/soc/intel/boards/sof_sdw.c | 51 ++++++++++++++++++------------- 13 files changed, 169 insertions(+), 79 deletions(-)
Signature · 1 line
2.34.1