From: Greg Meiste Date: Wed, 15 Sep 2010 18:56:53 +0000 (-0500) Subject: [ARM] hid: hid-motorola: Notify system of audio cable state changes X-Git-Tag: firefly_0821_release~9834^2~523 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ea562738b053d9d5102b022bbb6774c94afdb18f;p=firefly-linux-kernel-4.4.55.git [ARM] hid: hid-motorola: Notify system of audio cable state changes Change-Id: Iaf0b55998d103c2793322f7ce030c503e111d614 Signed-off-by: Greg Meiste Signed-off-by: Iliyan Malchev --- diff --git a/drivers/hid/hid-motorola.c b/drivers/hid/hid-motorola.c index e7a2c4e09568..de9ef05119fb 100644 --- a/drivers/hid/hid-motorola.c +++ b/drivers/hid/hid-motorola.c @@ -44,8 +44,7 @@ static void audio_jack_status_work(struct work_struct *work) { struct motorola_sc *sc = container_of(work, struct motorola_sc, work); - /* TODO: Action on Audio Cable insertion. */ - + cpcap_accy_whisper_spdif_set_state(sc->audio_cable_inserted); } static int mot_rawevent(struct hid_device *hdev, struct hid_report *report,