aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorIngyu Jang <[email protected]>2024-10-08 14:11:11 +0900
committerMark Brown <[email protected]>2024-10-23 00:07:04 +0100
commit9b0c65115acdcb6fd6bbeb360c1f4f7b14c9a610 (patch)
tree104877ae08bf3a2645e1d4a580fb38d3858b61f6 /lib/crypto/mpi/mpiutil.c
parent43aea89ac20e4c1d2cb4ab47c8f7a09f05081836 (diff)
ASoC: uniphier: Handle regmap_write errors in aio_iecout_set_enable()
The aio_oport_set_stream_type() function did not previously check the return values of regmap_write(). If these functions fail, it could lead to silent failures when configuring the audio playback port, causing improper behavior in audio stream output via S/PDIF without any indication of an error. This patch modifies aio_oport_set_stream_type() to check the return values of regmap_write(). If regmap_write() fails, the error code is propagated back to the caller to ensure proper error handling. Signed-off-by: Ingyu Jang <[email protected]> Link: https://patch.msgid.link/SE1P216MB2287962B462AE91B26248D19FD7E2@SE1P216MB2287.KORP216.PROD.OUTLOOK.COM Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions