commit | fcdb7c8f5019f77b1f55739a1caf9168d3b455d4 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Fri Feb 28 21:32:34 2014 +0000 |
committer | Chris Ball <chris@printf.net> | Tue Mar 04 16:28:39 2014 -0500 |
tree | 521af2903ea711ab26d85289d4a4efab48d427d4 | |
parent | 142dbab951fb9d2281e69f8d7522e6b7e0553ec0 [diff] |
mmc: sdhci-spear: fix platform_data usage sdhci-spear is unsafe should a probe fail or defer, since it overwrites the platform_data with its own driver-private data. It's trivial to fix as SDHCI allows for driver-private data to be appended to its own structure - we just need to arrange the code to allow this. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Chris Ball <chris@printf.net>