linux/sound/soc
Takashi Iwai 6710f8cd35 ASoC: fsl: Fix of-node refcount unbalance in fsl_ssi_probe_from_dt()
commit 2757970f6d upstream.

The node obtained from of_find_node_by_path() has to be unreferenced
after the use, but we forgot it for the root node.

Fixes: f0fba2ad1b ("ASoC: multi-component - ASoC Multi-Component Support")
Cc: Timur Tabi <timur@kernel.org>
Cc: Nicolin Chen <nicoleotsuka@gmail.com>
Cc: Xiubo Li <Xiubo.Lee@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
[bwh: Backported to 3.16:
 - Move declaration of root to the top of the function as there is no
   suitable block scope
 - Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2019-07-09 22:04:03 +01:00
..
adi ASoC: axi-{spdif,i2s}: Remove SND_DMAENGINE_PCM_FLAG_NO_RESIDUE flag 2014-01-14 21:28:39 +00:00
atmel ASoC: atmel_ssc_dai: fix start event for I2S mode 2015-02-10 13:38:44 +00:00
au1x ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read() 2018-06-16 22:21:53 +01:00
bcm ASoC: bcm: Remove obsoleted Kconfig dependency 2014-01-08 20:00:04 +00:00
blackfin ASoC: blackfin: use samples to set silence 2014-09-17 09:22:05 -07:00
cirrus ASoC: cirrus: i2s: Fix {TX|RX}LinCtrlData setup 2018-11-20 18:04:50 +00:00
codecs ASoC: tlv320aic32x4: Kernel OOPS while entering DAPM standby mode 2019-05-02 21:41:13 +01:00
davinci ASoC: davinci-evm: drop un-necessary remove function 2015-05-05 11:09:37 +01:00
dwc ASoC: dwc: correct irq clear method 2015-10-30 13:59:28 +00:00
fsl ASoC: fsl: Fix of-node refcount unbalance in fsl_ssi_probe_from_dt() 2019-07-09 22:04:03 +01:00
generic ASoC: simple-card: Fix crash in asoc_simple_card_unref() 2015-02-04 10:58:03 +00:00
intel ASoC: atom: fix a missing check of snd_pcm_lib_malloc_pages 2019-05-02 21:41:13 +01:00
jz4740 Merge remote-tracking branches 'asoc/topic/headers', 'asoc/topic/intel', 'asoc/topic/jz4740', 'asoc/topic/max98090', 'asoc/topic/max98095', 'asoc/topic/mc13783' and 'asoc/topic/multicodec' into asoc-next 2014-05-22 00:23:54 +01:00
kirkwood ASoC: Remove needless snd_soc_dapm_enable_pin() from machine driver inits 2014-05-19 17:19:18 +01:00
mxs Merge remote-tracking branches 'asoc/topic/adsp', 'asoc/topic/atmel', 'asoc/topic/bcm2835', 'asoc/topic/docs', 'asoc/topic/fsl', 'asoc/topic/generic', 'asoc/topic/kirkwood', 'asoc/topic/mc13783', 'asoc/topic/mxs', 'asoc/topic/nuc900', 'asoc/topic/sai', 'asoc/topic/sh', 'asoc/topic/ssm2602', 'asoc/topic/tlv320aic3x', 'asoc/topic/twl4030', 'asoc/topic/ux500', 'asoc/topic/width' and 'asoc/topic/x86' into for-tiwai 2014-01-16 12:44:01 +00:00
nuc900 ASoC: nuc900: Fix a loop timeout test 2018-06-16 22:21:43 +01:00
omap ASoC: omap-mcpdm: Fix irq resource handling 2016-11-20 01:17:16 +00:00
pxa ASoC: fix broken pxa SoC support 2015-10-19 10:54:37 +01:00
s6000 ASoC: s6105-ipcam: Convert to table based DAPM setup 2014-03-13 11:43:30 +00:00
samsung ASoC: s3c24xx: use const snd_soc_component_driver pointer 2016-05-01 00:05:45 +02:00
sh ASoC: rsnd: remove unsupported PAUSE flag 2014-12-01 10:02:11 +00:00
sirf ASoC: sirf: Move the tx rx enable from port to codec, that will not need register sharing 2014-04-14 17:28:17 +01:00
spear ASoC: spear_pcm: Use devm_snd_dmaengine_pcm_register to fix resource leak 2015-09-30 13:20:47 +01:00
tegra Merge remote-tracking branch 'asoc/topic/tegra' into asoc-next 2014-06-03 10:39:59 +01:00
txx9 ASoC: txx9aclc_ac97: Fix kernel crash on probe 2014-02-16 08:36:40 +08:00
ux500 ASoC: mop500_ab8500: Replace instances of rtd->codec->card with rtd->card 2014-05-20 22:55:39 +01:00
Kconfig ASoC: sirf: Add SiRF audio port driver is used by SiRF internal audio codec 2014-03-06 17:20:08 +08:00
Makefile ASoC: sirf: Add SiRF audio port driver is used by SiRF internal audio codec 2014-03-06 17:20:08 +08:00
soc-cache.c ASoC: cache: Fix error code when not using ASoC level cache 2014-06-02 16:08:21 +01:00
soc-compress.c ASoC: compress: Derive substream from stream based on direction 2017-10-12 15:27:50 +01:00
soc-core.c ASoC: Fix use-after-free at card unregistration 2017-09-15 18:29:50 +01:00
soc-dapm.c ASoC: dapm: delete dapm_kcontrol_data paths list before freeing it 2018-11-20 18:05:08 +00:00
soc-devres.c ASoC: Export devm_snd_soc_register_platform() 2014-04-22 22:00:42 +01:00
soc-generic-dmaengine-pcm.c ASoC: core: Fix possible NULL pointer dereference of pcm->config 2014-01-16 14:11:49 +00:00
soc-io.c ASoC: Remove ASoC level IO tracing 2014-04-22 13:24:24 +01:00
soc-jack.c ASoC: jack: Add support for GPIO descriptor defined jack pins 2014-05-26 15:26:00 +01:00
soc-pcm.c ASoC: do not close shared backend dailink 2017-11-11 13:32:58 +00:00
soc-utils.c Merge remote-tracking branch 'asoc/topic/dapm' into for-tiwai 2014-01-16 12:42:53 +00:00