Files
linux/drivers
Lars-Peter Clausen 37c3a08ca3 s3cmci: initialize default platform data no_wprotect and no_detect with 1
commit c212808a1b upstream.

If no platform_data was givin to the device it's going to use it's default
platform data struct which has all fields initialized to zero.  As a
result the driver is going to try to request gpio0 both as write protect
and card detect pin.  Which of course will fail and makes the driver
unusable

Previously to the introduction of no_wprotect and no_detect the behavior
was to assume that if no platform data was given there is no write protect
or card detect pin.  This patch restores that behavior.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-04-01 15:58:56 -07:00
..
2010-04-01 15:58:40 -07:00
2009-12-18 14:05:04 -08:00
2010-02-09 04:50:48 -08:00
2009-09-24 07:21:05 -07:00
2009-10-15 09:58:27 -06:00
2009-11-12 07:26:01 -08:00
2010-02-23 07:37:54 -08:00
2009-12-18 14:03:24 -08:00
2009-07-12 12:22:34 -07:00
2010-04-01 15:58:13 -07:00
2009-10-04 22:53:41 +02:00
2010-01-18 10:19:44 -08:00
2009-09-23 10:07:49 -07:00