]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: call missing snd_ctl_remove()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 2 Feb 2015 04:53:53 +0000 (04:53 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 2 Feb 2015 18:37:56 +0000 (18:37 +0000)
commita5fdeaa90793d934156d93045af1fab15c0834be
treed128fc580e3644c40eed162a98a0e7c6cdfccb68
parent15ad97a914cf4cb115df1ca571b6d686749c806e
ASoC: rsnd: call missing snd_ctl_remove()

Current Renesas R-Car sound driver is using snd_ctl_xxx()
functions, but it didn't call snd_ctl free_one() / snd_ctl_remove().
This patch call these functions.

Reported-by: Nguyen Viet Dung <nv-dung@jinso.co.jp>
Reported-by: Bui Duc Phuc <bd-phuc@jinso.co.jp>
Reported-by: Cao Minh Hiep <cm-hiep@jinso.co.jp>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/dvc.c
sound/soc/sh/rcar/rsnd.h