mfd: cpcap-whisper: Ignore the SE1 bit to detect host mode
authorBenoit Goby <benoit@android.com>
Wed, 11 Aug 2010 23:53:42 +0000 (16:53 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:41 +0000 (16:33 -0700)
commitefddedb611e684c30a7c0e8a6285cc2b7cfbd35b
tree28afc92cfa42a7a84fdef92bd1946eee9c5db1ab
parent7833216d52c569477d118b73393bf008922f5cd0
mfd: cpcap-whisper: Ignore the SE1 bit to detect host mode

The Nexus One data pins are in the SE1 state until vbus is powered.
Ignore the SE1 bit to fix host mode detection when a Nexus One is
attached.

Change-Id: Ia2314b26acdb1d20fa0a43812f88c232c919cba3
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/mfd/cpcap-whisper.c