android_kernel_xiaomi_sm8350/arch/avr32/mach-at32ap
David Brownell 3c26e17032 avr32: some mmc/sd cleanups
Minor cleanups for the MMC/SD support on avr32:

 - Make at32_add_device_mci() properly initialize "missing"
   platform data ... so boards like STK1002 won't try GPIO 0.

 - Switch over to gpio_is_valid() instead of testing for only
   one designated value.

 - Provide STK1002 platform data for the unlikely case that
   switches are set so first Ethernet controller isn't in use.
   (That's the only way to get card detect and writeprotect
   switch sensing on the STK1000.)

And get rid of one "unused variable" warning.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2008-07-27 13:57:36 +02:00
..
at32ap700x.c avr32: some mmc/sd cleanups 2008-07-27 13:57:36 +02:00
clock.c
clock.h
cpufreq.c avr32: Fix cpufreq oops when ondemand governor is default 2008-05-27 09:37:42 +02:00
extint.c [AVR32] extint: Set initial irq type to low level 2008-01-25 08:31:44 +01:00
hmatrix.h
hsmc.c avr32: move hsmc_init() to core_initcall 2008-06-07 08:45:07 +01:00
hsmc.h
intc.c avr32: Power Management support ("standby" and "mem" modes) 2008-07-02 11:05:01 +02:00
intc.h
Kconfig [AVR32] Add support for AT32AP7001 and AT32AP7002 2008-01-25 08:31:41 +01:00
Makefile avr32: Power Management support ("standby" and "mem" modes) 2008-07-02 11:05:01 +02:00
pdc.c avr32: Rename at32ap.c -> pdc.c 2008-06-28 15:08:48 +02:00
pio.c gpio: sysfs interface 2008-07-25 10:53:30 -07:00
pio.h avr32: Fix typo of IFSR in a comment in the PIO header file 2008-07-04 09:48:05 +02:00
pm-at32ap700x.S avr32: Power Management support ("standby" and "mem" modes) 2008-07-02 11:05:01 +02:00
pm.c avr32: Power Management support ("standby" and "mem" modes) 2008-07-02 11:05:01 +02:00
pm.h [AVR32] Fix a couple of sparse warnings 2007-10-23 11:19:24 +02:00
sdramc.h avr32: Power Management support ("standby" and "mem" modes) 2008-07-02 11:05:01 +02:00