diff options
| author | Christophe JAILLET <[email protected]> | 2020-04-26 20:23:55 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2020-05-07 13:10:25 +0000 |
| commit | 7c277dd2b0ff6a16f1732a66c2c52a29f067163e (patch) | |
| tree | 41d2234007a8f7c0c83c06053749449980d1c051 /drivers/mmc/core/queue.c | |
| parent | mmc: sdhci-pci-gli: Fix no irq handler from suspend (diff) | |
| download | kernel-7c277dd2b0ff6a16f1732a66c2c52a29f067163e.tar.gz kernel-7c277dd2b0ff6a16f1732a66c2c52a29f067163e.zip | |
mmc: alcor: Fix a resource leak in the error path for ->probe()
If devm_request_threaded_irq() fails, the allocated struct mmc_host needs
to be freed via calling mmc_free_host(), so let's do that.
Fixes: c5413ad815a6 ("mmc: add new Alcor Micro Cardreader SD/MMC driver")
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions
