[MMC] Fix chip config in wbsd
authorPierre Ossman <drzeus@drzeus.cx>
Sat, 5 Nov 2005 10:16:50 +0000 (10:16 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 5 Nov 2005 10:16:50 +0000 (10:16 +0000)
commit25cc5e5bd20e9274dddb9d1e55b83798363528dc
treefd065b54bbce7e04387670e163d2aba1ddf43ace
parent34cf9e37507c65f7398df4c21a18d4a3e83881d7
[MMC] Fix chip config in wbsd

There is a broken if clause in the wbsd driver that can cause the
driver to try and configure the chip even though none is found. This
results in i/o on invalid ports.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/wbsd.c