<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in jack.h</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>1b6a6fc5 - ALSA: jack: Access input_dev under mutex</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#1b6a6fc5</link>
        <description>ALSA: jack: Access input_dev under mutexIt is possible when using ASoC that input_dev is unregistered whilecalling snd_jack_report, which causes NULL pointer dereference.In order to prevent this serialize access to input_dev using mutex lock.Signed-off-by: Amadeusz S&#322;awi&#324;ski &lt;amadeuszx.slawinski@linux.intel.com&gt;Reviewed-by: Cezary Rojewski &lt;cezary.rojewski@intel.com&gt;Link: https://lore.kernel.org/r/20220412091628.3056922-1-amadeuszx.slawinski@linux.intel.comSigned-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Tue, 12 Apr 2022 09:16:28 +0000</pubDate>
        <dc:creator>Amadeusz S&#322;awi&#324;ski &lt;amadeuszx.slawinski@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>2d670ea2 - ALSA: jack: implement software jack injection via debugfs</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#2d670ea2</link>
        <description>ALSA: jack: implement software jack injection via debugfsThis change adds audio jack injection feature through debugfs, withthis feature, we could validate alsa userspace changes by injectingplugin or plugout events to the non-phantom audio jacks.With this change, the sound core will build the folders$debugfs_mount_dir/sound/cardN if SND_DEBUG and DEBUG_FS are enabled.And if users also enable the SND_JACK_INJECTION_DEBUG, the jackinjection nodes will be built in the folder cardN like below:$tree $debugfs_mount_dir/sound$debugfs_mount_dir/sound&#9500;&#9472;&#9472; card0&#9474;&#160;&#160; &#9500;&#9472;&#9472; HDMI_DP_pcm_10_Jack&#9474;&#160;&#160; &#9474;&#160;&#160; &#9500;&#9472;&#9472; jackin_inject&#9474;&#160;&#160; &#9474;&#160;&#160; &#9500;&#9472;&#9472; kctl_id&#9474;&#160;&#160; &#9474;&#160;&#160; &#9500;&#9472;&#9472; mask_bits&#9474;&#160;&#160; &#9474;&#160;&#160; &#9500;&#9472;&#9472; status&#9474;&#160;&#160; &#9474;&#160;&#160; &#9500;&#9472;&#9472; sw_inject_enable&#9474;&#160;&#160; &#9474;&#160;&#160; &#9492;&#9472;&#9472; type...&#9474;&#160;&#160; &#9492;&#9472;&#9472; HDMI_DP_pcm_9_Jack&#9474;&#160;&#160;     &#9500;&#9472;&#9472; jackin_inject&#9474;&#160;&#160;     &#9500;&#9472;&#9472; kctl_id&#9474;&#160;&#160;     &#9500;&#9472;&#9472; mask_bits&#9474;&#160;&#160;     &#9500;&#9472;&#9472; status&#9474;&#160;&#160;     &#9500;&#9472;&#9472; sw_inject_enable&#9474;&#160;&#160;     &#9492;&#9472;&#9472; type&#9492;&#9472;&#9472; card1    &#9500;&#9472;&#9472; HDMI_DP_pcm_5_Jack    &#9474;&#160;&#160; &#9500;&#9472;&#9472; jackin_inject    &#9474;&#160;&#160; &#9500;&#9472;&#9472; kctl_id    &#9474;&#160;&#160; &#9500;&#9472;&#9472; mask_bits    &#9474;&#160;&#160; &#9500;&#9472;&#9472; status    &#9474;&#160;&#160; &#9500;&#9472;&#9472; sw_inject_enable    &#9474;&#160;&#160; &#9492;&#9472;&#9472; type    ...    &#9500;&#9472;&#9472; Headphone_Jack    &#9474;&#160;&#160; &#9500;&#9472;&#9472; jackin_inject    &#9474;&#160;&#160; &#9500;&#9472;&#9472; kctl_id    &#9474;&#160;&#160; &#9500;&#9472;&#9472; mask_bits    &#9474;&#160;&#160; &#9500;&#9472;&#9472; status    &#9474;&#160;&#160; &#9500;&#9472;&#9472; sw_inject_enable    &#9474;&#160;&#160; &#9492;&#9472;&#9472; type    &#9492;&#9472;&#9472; Headset_Mic_Jack        &#9500;&#9472;&#9472; jackin_inject        &#9500;&#9472;&#9472; kctl_id        &#9500;&#9472;&#9472; mask_bits        &#9500;&#9472;&#9472; status        &#9500;&#9472;&#9472; sw_inject_enable        &#9492;&#9472;&#9472; typeThe nodes kctl_id, mask_bits, status and type are read-only, userscould check jack or jack_kctl&apos;s information through them.The nodes sw_inject_enable and jackin_inject are directly used forinjection. The sw_inject_enable is read-write, users could check ifsoftware injection is enabled or not on this jack, and users couldecho 1 or 0 to enable or disable software injection on this jack. Oncethe injection is enabled, the jack will not change by hardware eventsanymore, once the injection is disabled, the jack will restore thelast reported hardware events to the jack. The jackin_inject iswrite-only, if the injection is enabled, users could echo 1 or 0 tothis node to inject plugin or plugout events to this jack.For the detailed usage information on these nodes, please refer toDocumentation/sound/designs/jack-injection.rst.Reviewed-by: Takashi Iwai &lt;tiwai@suse.de&gt;Reviewed-by: Jaroslav Kysela &lt;perex@perex.cz&gt;Reviewed-by: Kai Vehmanen &lt;kai.vehmanen@linux.intel.com&gt;Signed-off-by: Hui Wang &lt;hui.wang@canonical.com&gt;Link: https://lore.kernel.org/r/20210127085639.74954-2-hui.wang@canonical.comSigned-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Wed, 27 Jan 2021 08:56:39 +0000</pubDate>
        <dc:creator>Hui Wang &lt;hui.wang@canonical.com&gt;</dc:creator>
    </item>
<item>
        <title>1a59d1b8 - treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#1a59d1b8</link>
        <description>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Based on 1 normalized pattern(s):  this program is free software you can redistribute it and or modify  it under the terms of the gnu general public license as published by  the free software foundation either version 2 of the license or at  your option any later version this program is distributed in the  hope that it will be useful but without any warranty without even  the implied warranty of merchantability or fitness for a particular  purpose see the gnu general public license for more details you  should have received a copy of the gnu general public license along  with this program if not write to the free software foundation inc  59 temple place suite 330 boston ma 02111 1307 usaextracted by the scancode license scanner the SPDX license identifier  GPL-2.0-or-laterhas been chosen to replace the boilerplate/reference in 1334 file(s).Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;Reviewed-by: Richard Fontana &lt;rfontana@redhat.com&gt;Cc: linux-spdx@vger.kernel.orgLink: https://lkml.kernel.org/r/20190527070033.113240726@linutronix.deSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Mon, 27 May 2019 06:55:05 +0000</pubDate>
        <dc:creator>Thomas Gleixner &lt;tglx@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>fe0d128c - ALSA: jack: Allow building the jack layer without input device</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#fe0d128c</link>
        <description>ALSA: jack: Allow building the jack layer without input deviceSince the recent integration of kctl jack and input jack layers, wecan basically build the jack layer even without input devices.  Thatis, the jack layer itself can be built with conditional to enable theinput device support or not, while the users may enable alwaysCONFIG_SND_JACK unconditionally.For achieving it, this patch changes the following:- A new Kconfig, CONFIG_SND_JACK_INPUT_DEV, was introduced to indicate  whether the jack layer supports the input device,- A few items in snd_jack struct and relevant codes are conditionally  built upon CONFIG_SND_JACK_INPUT_DEV,- The users of CONFIG_SND_JACK drop the messy dependency on  CONFIG_INPUT.This change also automagically fixes a potential bug in HD-audiodriver Arnd reported, where the NULL or uninitialized jack instance isdereferenced.Reported-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Wed, 17 Feb 2016 08:44:25 +0000</pubDate>
        <dc:creator>Takashi Iwai &lt;tiwai@suse.de&gt;</dc:creator>
    </item>
<item>
        <title>4e3f0dc6 - ALSA: jack: extend snd_jack_new to support phantom jack</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#4e3f0dc6</link>
        <description>ALSA: jack: extend snd_jack_new to support phantom jackDont create input devices for phantom jacks.Here, we extend snd_jack_new() to support phantom jack creating:pass in a bool param for [non-]phantom flag, and a bool paraminitial_jack to indicate whether we need to create a kctl atthis stage.We can also add a kctl to the jack after its created meaning wecan now integrate the HDA and ASoC jacks.Signed-off-by: Jie Yang &lt;yang.jie@intel.com&gt;Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Mon, 27 Apr 2015 13:20:58 +0000</pubDate>
        <dc:creator>Jie Yang &lt;yang.jie@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>9058cbe1 - ALSA: jack: implement kctl creating for jack devices</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#9058cbe1</link>
        <description>ALSA: jack: implement kctl creating for jack devicesCurrently the ALSA jack core registers only input devices for each jackregistered. These jack input devices are not readable by userspace devicesthat run as non root. This patch series will implement kctls inside thecore jack part, including kctls creating, status changing report, for bothHD-Audio and ASoC jack. This allows non root userspace to read jack statusand act on it.This patch adds a new API called snd_jack_add_new_kctl(), which will createa kcontrol, add it to the card, and also attach it to the jack kctl list.This patch also initialises the jack kctl list after jack is newed, andreports kctl status when jack insertion/removal events occur.snd_jack_new() is updated in the following patches to also support creatingphantom jacks and jack kcontrols. We then remove these duplicated featuresfrom HDA jack and have jack kctls handled by core throughout HDA and ASoC.Signed-off-by: Liam Girdwood &lt;liam.r.girdwood@linux.intel.com&gt;Modified-by: Jie Yang &lt;yang.jie@intel.com&gt;Signed-off-by: Jie Yang &lt;yang.jie@intel.com&gt;Reveiwed-by: Mark Brown &lt;broonie@kernel.org&gt;Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Mon, 27 Apr 2015 13:20:56 +0000</pubDate>
        <dc:creator>Jie Yang &lt;yang.jie@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>bf35df66 - ALSA: jack: Add dummy snd_jack_set_key() definition</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#bf35df66</link>
        <description>ALSA: jack: Add dummy snd_jack_set_key() definitionFor fixing a build error with CONFIG_SND_JACK=n  sound/soc/codecs/ts3a227e.c:223:2: error: implicit declaration of function &#8216;snd_jack_set_key&#8217; [-Werror=implicit-function-declaration]Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Mon, 08 Dec 2014 14:44:47 +0000</pubDate>
        <dc:creator>Takashi Iwai &lt;tiwai@suse.de&gt;</dc:creator>
    </item>
<item>
        <title>e83280f9 - ALSA: doc: Fix enum snd_jack_types comments</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#e83280f9</link>
        <description>ALSA: doc: Fix enum snd_jack_types commentsFollow the proper kerneldoc rule, and complete enum item comments.Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Wed, 29 Oct 2014 07:20:46 +0000</pubDate>
        <dc:creator>Takashi Iwai &lt;tiwai@suse.de&gt;</dc:creator>
    </item>
<item>
        <title>7b366d5f - ALSA: jack: Fix kerneldoc comments</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#7b366d5f</link>
        <description>ALSA: jack: Fix kerneldoc commentsSigned-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Tue, 28 Oct 2014 14:30:00 +0000</pubDate>
        <dc:creator>Takashi Iwai &lt;tiwai@suse.de&gt;</dc:creator>
    </item>
<item>
        <title>53803aea - ALSA: Use a define for the number of jack switch types</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#53803aea</link>
        <description>ALSA: Use a define for the number of jack switch typesThis is intended to facilitate the merge of the two jack detectionmechanisms.Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Tue, 07 Feb 2012 19:48:47 +0000</pubDate>
        <dc:creator>Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;</dc:creator>
    </item>
<item>
        <title>7c2f8e40 - ALSA: jack - Add &quot;Line In&quot; input jack constants</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#7c2f8e40</link>
        <description>ALSA: jack - Add &quot;Line In&quot; input jack constantsSimilar to Line Out, these constants form the base for futurepatches enabling input jack reporting for Line in jacks.Signed-off-by: David Henningsson &lt;david.henningsson@canonical.com&gt;Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Wed, 05 Oct 2011 13:53:25 +0000</pubDate>
        <dc:creator>David Henningsson &lt;david.henningsson@canonical.com&gt;</dc:creator>
    </item>
<item>
        <title>831853c8 - ALSA: Add more jack button slots</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#831853c8</link>
        <description>ALSA: Add more jack button slotsSome devices have more flexible microphone detection and can detecta wider range of buttons.Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Mon, 06 Sep 2010 15:08:56 +0000</pubDate>
        <dc:creator>Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;</dc:creator>
    </item>
<item>
        <title>ebb812cb - ALSA: Add support for key reporting via the jack interface</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#ebb812cb</link>
        <description>ALSA: Add support for key reporting via the jack interfaceSome devices provide support for detection of a small number ofbuttons on their jacks. One common implementation provides a singlebutton, implemented by shorting the microphone to ground and detectedalong with microphone presence detection by detecting varying currentdraws on the microphone bias signal.Provide support for up to three buttons via the jack interface. Thesedefault to reporting BTN_n but an API is provided to allow these tobe remapped to other keys by the machine driver where it knows whatthe keys are. More keys can be added with ease if required.This is only intended to support simple accessory button designs. Ifthe interface is limiting then either creating a child device for theaccessory or accessing the input device in the jack directly isrecommended.Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Wed, 17 Mar 2010 18:07:12 +0000</pubDate>
        <dc:creator>Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;</dc:creator>
    </item>
<item>
        <title>9d59065c - ALSA: add private_data to struct snd_jack</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#9d59065c</link>
        <description>ALSA: add private_data to struct snd_jackAdded private_data and private_free fields to struct snd_jack so thatthe caller can assign the data.  It&apos;ll be helpful for avoiding thedouble-free of the jack instance.Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Tue, 14 Apr 2009 14:13:58 +0000</pubDate>
        <dc:creator>Takashi Iwai &lt;tiwai@suse.de&gt;</dc:creator>
    </item>
<item>
        <title>d506fc32 - ALSA: Add support for video out to the jack reporting API</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#d506fc32</link>
        <description>ALSA: Add support for video out to the jack reporting APIAdd support for reporting new jack types SND_JACK_VIDEOOUT andSND_JACK_AVOUT (a combination of LINEOUT and VIDEOOUT) to the jackreporting API.Also add the corresponding SW_VIDEOOUT_INSERT switch to the input systemheader.Signed-off-by: Jani Nikula &lt;ext-jani.1.nikula@nokia.com&gt;Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Wed, 07 Jan 2009 09:54:25 +0000</pubDate>
        <dc:creator>Jani Nikula &lt;ext-jani.1.nikula@nokia.com&gt;</dc:creator>
    </item>
<item>
        <title>bd8a71a7 - ALSA: Reduce boilerplate for new jack types</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#bd8a71a7</link>
        <description>ALSA: Reduce boilerplate for new jack typesUse a lookup table rather than explicit code to map input subsystem jacktypes into ASoC ones, implemented as suggested by Takashi Iwai.Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Sat, 03 Jan 2009 16:56:56 +0000</pubDate>
        <dc:creator>Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;</dc:creator>
    </item>
<item>
        <title>cdc69364 - ALSA: Add support for mechanical jack insertion</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#cdc69364</link>
        <description>ALSA: Add support for mechanical jack insertionSome systems support both mechanical and electrical jack detection,allowing them to report that a jack is physically present but doesnot have any functioning connections. Add a new jack type for these,allowing user space to report faulty connections.Thanks to Guillem Jover for the suggestion.Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Wed, 10 Dec 2008 13:55:49 +0000</pubDate>
        <dc:creator>Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;</dc:creator>
    </item>
<item>
        <title>a53ccab3 - ALSA: jack: lineout support to jack abstraction layer</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#a53ccab3</link>
        <description>ALSA: jack: lineout support to jack abstraction layerThis patch introduces support for reporting SW_LINEOUT_INSERT detection eventsvia the jack abstraction layer.Also adds a SND_JACK_LINEOUT define to the input system header.Signed-off-by: Matthew Ranostay &lt;mranostay@embeddedalley.com&gt;Cc: Dmitry Torokhov &lt;dtor@mail.ru&gt;Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Sat, 25 Oct 2008 05:05:04 +0000</pubDate>
        <dc:creator>Matthew Ranostay &lt;mranostay@embeddedalley.com&gt;</dc:creator>
    </item>
<item>
        <title>e76d8cea - ALSA: Add jack reporting API</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/sound/jack.h#e76d8cea</link>
        <description>ALSA: Add jack reporting APICurrently very few systems provide information about jack status to userspace, even though many have hardware facilities to do detection. Thosesystems that do use an input device with the existing SW_HEADPHONE_INSERTswitch type to do so, often independently of ALSA.This patch introduces a standard method for representing jacks to userspace into ALSA. It allows drivers to register jacks for a sound card withthe input subsystem, binding the input device to the card to help userspace associate the input devices with their sound cards. The createdinput devices are named in the form &quot;card longname jack&quot; where jack isprovided by the driver when allocating a jack. By default the parent forthe input device is the sound card but this can be overridden by thecard driver.The existing user space API with SW_HEADPHONE_INSERT is preserved.Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;

            List of files:
            /linux-6.15/include/sound/jack.h</description>
        <pubDate>Mon, 28 Jul 2008 18:05:35 +0000</pubDate>
        <dc:creator>Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;</dc:creator>
    </item>
</channel>
</rss>
