ssb-pcmcia: Fix 32bit register access in early bus scanning
authorMartin Fuzzey <mfuzzey@gmail.com>
Fri, 6 Nov 2009 20:21:27 +0000 (21:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Nov 2009 21:21:12 +0000 (16:21 -0500)
commitd8e235227899474976302cf272e5c2b756eb32de
tree861c0958d9e5f587524d00d0c3bdd05fcf14e161
parent2606289779cb297320a185db5997729d29b6700b
ssb-pcmcia: Fix 32bit register access in early bus scanning

The scan function was using 32 bit access which does not
work on 16bit CF cards.

This patch corrects this by doing two 16 bit reads like
ssb_pcmcia_read32 already does.

mb -- Removed locking. That early in init there's no need for locking.

Signed-off-by: Martin Fuzzey <mfuzzey@gmail.com>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/scan.c