summaryrefslogtreecommitdiff
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2019-01-19 16:31:00 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-06 17:31:35 +0100
commit6af069a10b9513b338582e310802225da145f7d8 (patch)
treecfd7b6afa82cb251126d0b5c1414a6e87291e78f /sound/pci/hda/patch_realtek.c
parent5cb3a9220995cfb6234e664a5fa0f001e5ad2256 (diff)
mmc: bcm2835: Fix DMA channel leak on probe error
commit 8c9620b1cc9b69e82fa8d4081d646d0016b602e7 upstream. The BCM2835 MMC host driver requests a DMA channel on probe but neglects to release the channel in the probe error path. The channel may therefore be leaked, in particular if devm_clk_get() causes probe deferral. Fix it. Fixes: 660fc733bd74 ("mmc: bcm2835: Add new driver for the sdhost controller.") Signed-off-by: Lukas Wunner <lukas@wunner.de> Cc: stable@vger.kernel.org # v4.12+ Cc: Frank Pavlic <f.pavlic@kunbus.de> Tested-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions