aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core')
-rw-r--r--sound/core/jack.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/core/jack.c b/sound/core/jack.c
index 471e1e3b0a99..a06b1651fcba 100644
--- a/sound/core/jack.c
+++ b/sound/core/jack.c
@@ -155,7 +155,7 @@ EXPORT_SYMBOL(snd_jack_new);
155 * @jack: The jack to configure 155 * @jack: The jack to configure
156 * @parent: The device to set as parent for the jack. 156 * @parent: The device to set as parent for the jack.
157 * 157 *
158 * Set the parent for the jack input device in the device tree. This 158 * Set the parent for the jack devices in the device tree. This
159 * function is only valid prior to registration of the jack. If no 159 * function is only valid prior to registration of the jack. If no
160 * parent is configured then the parent device will be the sound card. 160 * parent is configured then the parent device will be the sound card.
161 */ 161 */
@@ -179,6 +179,9 @@ EXPORT_SYMBOL(snd_jack_set_parent);
179 * mapping is provided but keys are enabled in the jack type then 179 * mapping is provided but keys are enabled in the jack type then
180 * BTN_n numeric buttons will be reported. 180 * BTN_n numeric buttons will be reported.
181 * 181 *
182 * If jacks are not reporting via the input API this call will have no
183 * effect.
184 *
182 * Note that this is intended to be use by simple devices with small 185 * Note that this is intended to be use by simple devices with small
183 * numbers of keys that can be reported. It is also possible to 186 * numbers of keys that can be reported. It is also possible to
184 * access the input device directly - devices with complex input 187 * access the input device directly - devices with complex input