projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82bd615
)
[ARM] hid: hid-motorola: Notify system of audio cable state changes
author
Greg Meiste
<w30289@motorola.com>
Wed, 15 Sep 2010 18:56:53 +0000
(13:56 -0500)
committer
Colin Cross
<ccross@android.com>
Thu, 7 Oct 2010 00:01:30 +0000
(17:01 -0700)
Change-Id: Iaf0b55998d103c2793322f7ce030c503e111d614
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
drivers/hid/hid-motorola.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-motorola.c
b/drivers/hid/hid-motorola.c
index e7a2c4e095682f80769e293ad9bbbce8a1a26583..de9ef05119fb49ceb04fde2dd99267bc48adb4d4 100644
(file)
--- 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,