Re: [PATCH 1/1] ice1712: check if snd card loaded, if not do not proceed

2014-07-14 Thread Takashi Iwai
At Fri, 11 Jul 2014 12:50:10 -0500, Konstantinos Tsimpoukas wrote: > > Then i suppose the same applies for hda snd remove (in hda_intel.c), > as same struct is used there as well. No, hda_intel.c is an exception. Its probe continues to a workqueue, and the probe failure might happen asynchronous

Re: [PATCH 1/1] ice1712: check if snd card loaded, if not do not proceed

2014-07-11 Thread Takashi Iwai
At Thu, 10 Jul 2014 23:19:37 -0500, Konstantinos Tsimpoukas wrote: > > Just adding a simple if statement, which > verifies if actually card is loaded, if not > does not continue with the execution > of the snd_card_free. It's already referenced by ice, so a NULL check must be peformed at first.

[PATCH 1/1] ice1712: check if snd card loaded, if not do not proceed

2014-07-10 Thread Konstantinos Tsimpoukas
Just adding a simple if statement, which verifies if actually card is loaded, if not does not continue with the execution of the snd_card_free. Signed-off-by: Konstantinos Tsimpoukas --- sound/pci/ice1712/ice1712.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/pci/i