summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/sdio_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/sdio_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/sdio_bus.c')
-rw-r--r--drivers/mmc/core/sdio_bus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/core/sdio_bus.c b/drivers/mmc/core/sdio_bus.c
index 683d91740109..0713a8c71e54 100644
--- a/drivers/mmc/core/sdio_bus.c
+++ b/drivers/mmc/core/sdio_bus.c
@@ -211,6 +211,9 @@ static void sdio_release_func(struct device *dev)
sdio_free_func_cis(func);
+ if (func->info)
+ kfree(func->info);
+
kfree(func);
}