exynos-linux-stable/sound/aoa
Johannes Berg b18c3ca2cb 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: f3d9478b2c ("[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-01-29 10:24:29 +01:00
..
codecs ALSA: aoa: onyx: always initialize register read value 2020-01-29 10:24:29 +01:00
core ALSA: snd-aoa: add of_node_put() in error path 2018-10-03 17:01:45 -07:00
fabrics ALSA: squash lines for simple wrapper functions 2016-09-07 20:35:29 +02:00
soundbus ALSA: snd-aoa: enable sound on PowerBook G4 12" 2016-08-25 16:48:54 +02:00
aoa-gpio.h ALSA: snd-aoa: handle master-amp if present 2009-01-15 18:28:37 +01:00
aoa.h ALSA: Drop __bitwise and typedefs for snd_device attributes 2014-02-14 08:20:24 +01:00
Kconfig sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
Makefile [PATCH] aoa: fix when all is built into the kernel 2006-07-10 13:24:19 -07:00