Merge branch 'for-linus' into for-next
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Apr 2016 09:51:08 +0000 (11:51 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 4 Apr 2016 09:51:08 +0000 (11:51 +0200)
Conflicts:
sound/hda/hdac_i915.c

Signed-off-by: Takashi Iwai <tiwai@suse.de>
1  2 
sound/hda/hdac_i915.c

index d0da2508823e97a529a90fcb75f9c9247379cf6f,54babe1c0b1679b97ae43c3b745f0843b15ccfde..6800e0c5a38f320e7d632ba2bac0e54e0d9e307f
@@@ -306,9 -298,9 +318,12 @@@ int snd_hdac_i915_init(struct hdac_bus 
        struct i915_audio_component *acomp;
        int ret;
  
 +      if (WARN_ON(hdac_acomp))
 +              return -EBUSY;
 +
+       if (!i915_gfx_present())
+               return -ENODEV;
        acomp = kzalloc(sizeof(*acomp), GFP_KERNEL);
        if (!acomp)
                return -ENOMEM;
This page took 0.026528 seconds and 5 git commands to generate.