Merge branch 'for-linus' into for-next
This back-merge is necessary for adjusting the latest FireWire fix with the recent refactoring in 5.3 development branch. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@ -840,7 +840,14 @@ static int snd_hda_codec_dev_free(struct snd_device *device)
|
||||
if (codec->core.type == HDA_DEV_LEGACY)
|
||||
snd_hdac_device_unregister(&codec->core);
|
||||
codec_display_power(codec, false);
|
||||
put_device(hda_codec_dev(codec));
|
||||
|
||||
/*
|
||||
* In the case of ASoC HD-audio bus, the device refcount is released in
|
||||
* snd_hdac_ext_bus_device_remove() explicitly.
|
||||
*/
|
||||
if (codec->core.type == HDA_DEV_LEGACY)
|
||||
put_device(hda_codec_dev(codec));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user