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)
commitd1f83d6ef43bf1b4a3d19805098b3a9724047479
treed128fc580e3644c40eed162a98a0e7c6cdfccb68
parent8048b91ffca872d704b7e7fb404a121955ce8d8e
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