diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2012-10-29 21:43:07 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-11-07 20:02:03 (GMT) |
commit | ee3298a2b6832bcfeec040dabf19632b704d826a (patch) | |
tree | 4cc47cfa7510783061db8264c63fa9462f5c8eb8 /drivers/bcma | |
parent | a0d28ba01ebd048b4ba418142b37f5cf80e6d156 (diff) | |
download | linux-ee3298a2b6832bcfeec040dabf19632b704d826a.tar.xz |
mmc: fix sdhci-dove probe/removal
1. Never ever publish a device in the system before it has been setup
to a usable state.
2. Unregister the device _BEFORE_ taking away any resources it may be
using.
3. Don't check clks against NULL.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions