Skip to content
Commit c2d680f8 authored by Lukas Wunner's avatar Lukas Wunner Committed by Phil Elwell
Browse files

bcm2835-mmc: Fix struct mmc_host leak on probe



The BCM2835 MMC host driver requests the bus address of the host's
register map on probe.  If that fails, the driver leaks the struct
mmc_host allocated earlier.

Fix it.

Signed-off-by: default avatarLukas Wunner <lukas@wunner.de>
Cc: Frank Pavlic <f.pavlic@kunbus.de>
parent 35edb61a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment