android_kernel_samsung_a7y1.../sound/aoa
Johannes Berg 051f7b2c9d ALSA: aoa: onyx: always initialize register read value
[ Upstream commit f474808acb3c4b30552d9c59b181244e0300d218 ]

A lot of places in the driver use onyx_read_register() without
checking the return value, and it's been working OK for ~10 years
or so, so probably never fails ... Rather than trying to check the
return value everywhere, which would be relatively intrusive, at
least make sure we don't use an uninitialized value.

Fixes: f3d9478b2ce4 ("[ALSA] snd-aoa: add snd-aoa")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:42:41 +02:00
..
codecs ALSA: aoa: onyx: always initialize register read value 2020-04-07 13:42:41 +02:00
core A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fabrics A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soundbus A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aoa-gpio.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aoa.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30