Commit a0cd2b26 authored by Dan Carpenter's avatar Dan Carpenter Committed by Takashi Iwai
Browse files

ALSA: hda/tas2781: Fix error code tas2781_read_acpi()



Return an error code if acpi_get_subsystem_id() fails.  Don't return
success.

Fixes: 4e7035a7 ("ALSA: hda/tas2781: Add speaker id check for ASUS projects")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/ef773f8a-a61d-478b-9e81-41a38a75c77b@stanley.mountain


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 3a83f7ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment