ASoC: rsnd: call missing snd_ctl_remove()
authorKuninori Morimoto <[email protected]>
Mon, 2 Feb 2015 04:53:53 +0000 (04:53 +0000)
committerMark Brown <[email protected]>
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 <[email protected]>
Reported-by: Bui Duc Phuc <[email protected]>
Reported-by: Cao Minh Hiep <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/dvc.c
sound/soc/sh/rcar/rsnd.h