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

@@@ -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;