diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-09-17 14:53:29 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2020-09-18 00:22:52 +0000 |
commit | 2df3a5b04c40d548391c69c18780fefd420fac02 (patch) | |
tree | 48f56c70a30c688e9360a03eff836de7fba9f73b /firmware/drivers | |
parent | 4fa945d810a574c96503834d1c9324d02f17fc4b (diff) | |
download | rockbox-2df3a5b04c40d548391c69c18780fefd420fac02.tar.gz rockbox-2df3a5b04c40d548391c69c18780fefd420fac02.zip |
Headphone / lineout pause/resume #FS13237
Allow Lineout to behave like headphone port in regards to
plug/unplug pause/resume
Change-Id: I9cb2c9c40e0bdf3bf7e1e272164acd343f6b3850
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/button.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index f2408d891e..58a9ab0b94 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c | |||
@@ -112,6 +112,7 @@ static int hp_detect_callback(struct timeout *tmo) | |||
112 | queue_remove_from_head(&button_queue, id); | 112 | queue_remove_from_head(&button_queue, id); |
113 | queue_post(&button_queue, id, 0); | 113 | queue_post(&button_queue, id, 0); |
114 | return 0; | 114 | return 0; |
115 | /*misc.c:hp_unplug_change*/ | ||
115 | } | 116 | } |
116 | #endif | 117 | #endif |
117 | 118 | ||
@@ -125,6 +126,7 @@ static int lo_detect_callback(struct timeout *tmo) | |||
125 | queue_remove_from_head(&button_queue, id); | 126 | queue_remove_from_head(&button_queue, id); |
126 | queue_post(&button_queue, id, 0); | 127 | queue_post(&button_queue, id, 0); |
127 | return 0; | 128 | return 0; |
129 | /*misc.c:lo_unplug_change*/ | ||
128 | } | 130 | } |
129 | #endif | 131 | #endif |
130 | 132 | ||