aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2023-06-30 14:03:18 +0200
committerMark Brown <[email protected]>2023-06-30 14:53:47 +0100
commit85a61b1ce461a3f62f1019e5e6423c393c542bff (patch)
tree2c19f6e2d6f9051c964d2fe6f80445748a7adf88 /lib/test_fortify/write_overflow-strlcpy-src.c
parentb1db244c716fe300e36428aeb0874913d2e0a91d (diff)
ASoC: codecs: wcd938x: fix codec initialisation race
Make sure to resume the codec and soundwire device before trying to read the codec variant and configure the device during component probe. This specifically avoids interpreting (a masked and shifted) -EBUSY errno as the variant: wcd938x_codec audio-codec: ASoC: error at soc_component_read_no_lock on audio-codec for register: [0x000034b0] -16 when the soundwire device happens to be suspended, which in turn prevents some headphone controls from being registered. Fixes: 8d78602aa87a ("ASoC: codecs: wcd938x: add basic driver") Cc: [email protected] # 5.14 Cc: Srinivas Kandagatla <[email protected]> Reported-by: Steev Klimaszewski <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions