aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-05-06 22:40:39 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-05-12 03:15:38 +0200
commitb786d744effff777ffa1fd478718ab9a7ab8a2e7 (patch)
tree1aae14c4334bb16262ac1b722865b00afdd2e801 /toolchain
parent7f54fa575b33d266f91f67dbb9a0c2c0af7aca7e (diff)
downloadupstream-b786d744effff777ffa1fd478718ab9a7ab8a2e7.tar.gz
upstream-b786d744effff777ffa1fd478718ab9a7ab8a2e7.tar.bz2
upstream-b786d744effff777ffa1fd478718ab9a7ab8a2e7.zip
ramips: 5.15: handle return from device_reset in I2C driver
Handle return from device reset in I2C driver. Don't fail on device_reset error but print a warning. Fix compilation warning: sound/soc/ralink/ralink-i2s.c: In function 'ralink_i2s_probe': sound/soc/ralink/ralink-i2s.c:885:9: error: ignoring return value of 'device_reset' declared with attribute 'warn_unused_result' [-Werror=unused-result] 885 | device_reset(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'toolchain')
0 files changed, 0 insertions, 0 deletions