android_kernel_xiaomi_sm8350/drivers/pcmcia
Dominik Brodowski b83156b52d pcmcia: avoid validate_cis failure on CIS override
Commit a8408c17 introduced a new check to pccard_validate_cis(),
which avoids any "late" calls to this function. This broke the
insertion of cards which require a CIS override which changes
the number of card functions. Fix this by asserting that this
is _not_ a late call, but a proper call early during the card
insertion process.

Fixes https://bugzilla.kernel.org/show_bug.cgi?id=16138

Reported-by: Mikulas Patocka <mpatocka@redhat.com>
CC: <stable@kernel.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2010-06-07 18:34:16 +02:00
..
at91_cf.c
au1000_generic.c
au1000_generic.h
au1000_pb1x00.c
bcm63xx_pcmcia.c
bcm63xx_pcmcia.h
bfin_cf_pcmcia.c pcmcia: replace struct irq with uint pcmcia_irq in struct pcmcia_socket 2010-05-10 10:23:12 +02:00
cardbus.c pcmcia: replace struct irq with uint pcmcia_irq in struct pcmcia_socket 2010-05-10 10:23:12 +02:00
cirrus.h
cistpl.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
cs_internal.h pcmcia: clarify alloc_io_space, move it to resource handlers 2010-05-10 10:23:19 +02:00
cs.c pcmcia: replace struct irq with uint pcmcia_irq in struct pcmcia_socket 2010-05-10 10:23:12 +02:00
db1xxx_ss.c MIPS: DB1200: PCMCIA card detection must not be auto-enabled. 2010-04-30 20:52:43 +01:00
ds.c pcmcia: avoid validate_cis failure on CIS override 2010-06-07 18:34:16 +02:00
electra_cf.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
i82092.c
i82092aa.h
i82365.c
i82365.h
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2010-05-20 09:09:46 -07:00
m8xx_pcmcia.c of/pcmcia: m8xx_pcmcia.c: Fix build failures 2010-06-02 21:02:38 -06:00
m32r_cfc.c
m32r_cfc.h
m32r_pcc.c
m32r_pcc.h
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2010-05-20 09:09:46 -07:00
o2micro.h
omap_cf.c pcmcia: replace struct irq with uint pcmcia_irq in struct pcmcia_socket 2010-05-10 10:23:12 +02:00
pcmcia_cis.c pcmcia: update gfp/slab.h includes 2010-05-10 10:23:20 +02:00
pcmcia_ioctl.c Merge branch 'bkl/ioctl' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing 2010-05-24 08:01:10 -07:00
pcmcia_resource.c pcmcia: call pcmcia_{read,write}_cis_mem with ops_mutex held 2010-05-10 10:23:23 +02:00
pd6729.c
pd6729.h
pxa2xx_base.c
pxa2xx_base.h
pxa2xx_cm_x2xx.c
pxa2xx_cm_x255.c
pxa2xx_cm_x270.c
pxa2xx_e740.c
pxa2xx_lubbock.c
pxa2xx_mainstone.c
pxa2xx_palmld.c
pxa2xx_palmtc.c
pxa2xx_palmtx.c
pxa2xx_sharpsl.c
pxa2xx_stargate2.c
pxa2xx_trizeps4.c
pxa2xx_viper.c
pxa2xx_vpac270.c [ARM] pxa: add support for Voipac PXA270 PCMCIA 2010-05-11 17:25:02 +02:00
ricoh.h
rsrc_iodyn.c pcmcia: update gfp/slab.h includes 2010-05-10 10:23:20 +02:00
rsrc_mgr.c pcmcia: clarify alloc_io_space, move it to resource handlers 2010-05-10 10:23:19 +02:00
rsrc_nonstatic.c pcmcia: do not autoadd root PCI bus resources 2010-05-10 10:23:19 +02:00
sa11xx_base.c
sa11xx_base.h
sa1100_assabet.c
sa1100_badge4.c
sa1100_cerf.c
sa1100_generic.c
sa1100_generic.h
sa1100_h3600.c
sa1100_jornada720.c
sa1100_neponset.c
sa1100_shannon.c
sa1100_simpad.c
sa1111_generic.c
sa1111_generic.h
soc_common.c
soc_common.h
socket_sysfs.c
tcic.c
tcic.h
ti113x.h
topic.h
vg468.h
vrc4171_card.c
vrc4173_cardu.c
vrc4173_cardu.h
xxs1500_ss.c
yenta_socket.c pcmcia: yenta_socket.c Remove extra #ifdef CONFIG_YENTA_TI 2010-06-07 18:22:57 +02:00
yenta_socket.h