summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/bus.c
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2007-09-19 18:42:16 +0200
committerPierre Ossman <drzeus@drzeus.cx>2007-09-23 21:28:01 +0200
commit759bdc7af450404382e937c76722ae8736daef92 (patch)
tree6c605ba19762d0d0a0afd42f2b4f5d1da99ad90a /drivers/mmc/core/bus.c
parentf9996aee36921e8f1d499de1b2ea380855cf6d97 (diff)
sdio: store vendor strings
Store vendor strings found in CISTPL_VERS_1 so that function drivers can access them. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/core/bus.c')
-rw-r--r--drivers/mmc/core/bus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/core/bus.c b/drivers/mmc/core/bus.c
index 1cc11714916f..733ac95331c7 100644
--- a/drivers/mmc/core/bus.c
+++ b/drivers/mmc/core/bus.c
@@ -187,6 +187,9 @@ static void mmc_release_card(struct device *dev)
sdio_free_common_cis(card);
+ if (card->info)
+ kfree(card->info);
+
kfree(card);
}