commit | ee3298a2b6832bcfeec040dabf19632b704d826a | [log] [tgz] |
---|---|---|
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | Mon Oct 29 21:43:07 2012 +0000 |
committer | Chris Ball <cjb@laptop.org> | Wed Nov 07 15:02:03 2012 -0500 |
tree | 4cc47cfa7510783061db8264c63fa9462f5c8eb8 | |
parent | a0d28ba01ebd048b4ba418142b37f5cf80e6d156 [diff] |
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>