15 Oct
2008
15 Oct
'08
5:47 p.m.
At Wed, 15 Oct 2008 16:44:02 +0100, Mark Brown wrote:
- if (codec->jack)
snd_jack_report(codec->jack,
presence ? SND_JACK_HEADPHONE : 0);
Since you appear to fail init if you can't create the jack there should be no need to check for the jack being initialised here. For ease of use I'll just submit a patch folding that check into snd_jack_report(), though.
Such a change can go to 2.6.28, too, if received timely :)
Takashi