mfd: cpcap-whisper: Report audio cable
authorGreg Meiste <w30289@motorola.com>
Tue, 1 Jun 2010 19:33:31 +0000 (14:33 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:07 +0000 (16:33 -0700)
commit0d86ae97a78be5579898b77de856994733e25841
treec7460be9928ad5d49f3285a04c5c92054cb178c8
parent35ea376860852ccb9ea860244d511c652e37bfba
mfd: cpcap-whisper: Report audio cable

Whisper detection driver will now report to the system when an audio cable
is attached to the Whisper accessory.  The presence of the audio cable
can be found at /sys/class/switch/usb_audio/state.  The audio status will
not be reported until the accessory is validated by the Whisper daemon.

Change-Id: I7883403abdc8e86096e241e5a7e656b233db5296
Signed-off-by: Greg Meiste <w30289@motorola.com>
drivers/mfd/cpcap-whisper.c