diff options
author | Russell King - ARM Linux <[email protected]> | 2012-10-29 21:43:07 +0000 |
---|---|---|
committer | Chris Ball <[email protected]> | 2012-11-07 15:02:03 -0500 |
commit | ee3298a2b6832bcfeec040dabf19632b704d826a (patch) | |
tree | 4cc47cfa7510783061db8264c63fa9462f5c8eb8 /lib/memory-notifier-error-inject.c | |
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 <[email protected]>
Tested-by: Sebastian Hesselbarth <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions