summaryrefslogtreecommitdiffstats
path: root/drivers/staging/most
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2023-01-30 14:06:41 +0200
committerMark Brown <broonie@kernel.org>2023-01-30 18:36:20 +0000
commita4c4161d6eae3ef5f486d1638ef452d9bc1376b0 (patch)
treee991b85b841adad771ee4e5037649f1c45cc346f /drivers/staging/most
parentfa09fa60385abbf99342494b280da8b4aebbc0e9 (diff)
downloadlinux-a4c4161d6eae3ef5f486d1638ef452d9bc1376b0.tar.gz
linux-a4c4161d6eae3ef5f486d1638ef452d9bc1376b0.tar.bz2
linux-a4c4161d6eae3ef5f486d1638ef452d9bc1376b0.zip
ASoC: mchp-spdifrx: fix return value in case completion times out
wait_for_completion_interruptible_timeout() returns 0 in case of timeout. Check this into account when returning from function. Fixes: ef265c55c1ac ("ASoC: mchp-spdifrx: add driver for SPDIF RX") Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230130120647.638049-3-claudiu.beznea@microchip.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/staging/most')
0 files changed, 0 insertions, 0 deletions