diff options
author | Lukas Wunner <[email protected]> | 2019-01-19 16:31:00 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2019-01-28 12:43:19 +0100 |
commit | 8c9620b1cc9b69e82fa8d4081d646d0016b602e7 (patch) | |
tree | 65f7ee4ffcee8d26a354f203cffbb677c01eb67b /net/lapb/lapb_subr.c | |
parent | f17b5f06cb92ef2250513a1e154c47b78df07d40 (diff) |
mmc: bcm2835: Fix DMA channel leak on probe error
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 <[email protected]>
Cc: [email protected] # v4.12+
Cc: Frank Pavlic <[email protected]>
Tested-by: Stefan Wahren <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions