extcon: arizona: Update cable reporting calls and split headset
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 28 Jun 2012 12:08:30 +0000 (13:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 16:32:14 +0000 (09:32 -0700)
commit325c642380fb9a8c628696ed8d64544d73b653ed
tree322c370a3e6d08528637ee1c1f2bae12703087a0
parenteed5d2150752bd08b22333d739f3120151773d28
extcon: arizona: Update cable reporting calls and split headset

Use extcon_set_state_ for performance and split the headset into separate
headphone and microphone reports as this is more idiomatic.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/extcon-arizona.c