OpenCloudOS-Kernel/sound/soc/generic
Kuninori Morimoto 19dd077777
ASoC: simple-card: fixup refcount_t underflow
commit da215354eb ("ASoC: simple-card: merge simple-scu-card")
merged simple-card and simple-scu-card. Then it had refcount
underflow bug. This patch fixup it.
We will get below error without this patch.

	OF: ERROR: Bad of_node_put() on /sound
	CPU: 3 PID: 237 Comm: kworker/3:1 Not tainted 5.0.0-rc6+ #1514
	Hardware name: Renesas H3ULCB Kingfisher board based on r8a7795 ES2.0+ (DT)
	Workqueue: events deferred_probe_work_func
	Call trace:
	 dump_backtrace+0x0/0x150
	 show_stack+0x24/0x30
	 dump_stack+0xb0/0xec
	 of_node_release+0xd0/0xd8
	 kobject_put+0x74/0xe8
	 of_node_put+0x24/0x30
	 __of_get_next_child+0x50/0x70
	 of_get_next_child+0x40/0x68
	 asoc_simple_card_probe+0x604/0x730
	 platform_drv_probe+0x58/0xa8
	 ...
Reported-by: Vicente Bergas <vicencb@gmail.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Mark Brown <broonie@kernel.org>
2019-02-18 18:36:52 +00:00
..
Kconfig ASoC: simple-card: merge simple-scu-card 2018-12-14 11:48:12 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
audio-graph-card.c ASoC: audio-graph-card: tidyup prefix for snd_soc_codec_conf 2018-12-14 11:47:49 +00:00
audio-graph-scu-card.c ASoC: audio-graph-scu-card: care multi DPCM codec_conf 2018-12-04 16:29:19 +00:00
simple-card-utils.c ASoC: simple-card-utils: fixup asoc_simple_card_get_dai_id() ID method 2018-12-14 11:44:34 +00:00
simple-card.c ASoC: simple-card: fixup refcount_t underflow 2019-02-18 18:36:52 +00:00
simple-scu-card.c ASoC: simple-scu-card: care multi DPCM codec_conf 2018-12-11 12:19:12 +00:00