summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8978.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-07-23 05:53:52 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-03 07:46:07 +0100
commit4eaac50552395f693b8c428872e8b5311c3dab60 (patch)
treea3211849d447486cdd2051890b12ab3c1fea3d1b /sound/soc/codecs/wm8978.c
parent6b5d071e8ba7d802f3123e7b7a37ea13650a98bf (diff)
downloadop-kernel-dev-4eaac50552395f693b8c428872e8b5311c3dab60.zip
op-kernel-dev-4eaac50552395f693b8c428872e8b5311c3dab60.tar.gz
ASoC: wm8974: fix a memory leak if another WM8974 is registered
wm8974 is allocated in wm8974_i2c_probe() but is not freed if wm8974_register() return -EINVAL (if another WM8974 is registered). Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8978.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud