Merge branch 'fix/hda' into topic/hda

This commit is contained in:
Takashi Iwai
2008-12-19 08:22:57 +01:00
9186 changed files with 685358 additions and 218562 deletions

View File

@@ -151,6 +151,9 @@ EXPORT_SYMBOL(snd_jack_set_parent);
*/
void snd_jack_report(struct snd_jack *jack, int status)
{
if (!jack)
return;
if (jack->type & SND_JACK_HEADPHONE)
input_report_switch(jack->input_dev, SW_HEADPHONE_INSERT,
status & SND_JACK_HEADPHONE);