mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-17 20:47:01 +00:00
Fix another wrong shitfing
SVN-Revision: 9447
This commit is contained in:
parent
fae75b2f4d
commit
3260efaa90
@ -92,7 +92,7 @@ static inline int cf_present(struct cf_mips_dev* dev)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* on RB100 WAIT is LOW all the time => read will hang */
|
/* on RB100 WAIT is LOW all the time => read will hang */
|
||||||
if (SW_READ_REG(GPIO_CONF0) & (1 << ADM5120_GPIO_PIN0))
|
if (SW_READ_REG(GPIO_CONF0) & (1 << 8))
|
||||||
cmd |= EXTIO_WAIT_EN;
|
cmd |= EXTIO_WAIT_EN;
|
||||||
|
|
||||||
SW_WRITE_REG(GPIO_CONF2, cmd);
|
SW_WRITE_REG(GPIO_CONF2, cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user