Skip to content
Commit 807563cd authored by Dan Carpenter's avatar Dan Carpenter Committed by Takashi Iwai
Browse files

ALSA: hda: tas2781-spi: Fix error code in tas2781_read_acpi()



Propagate the error code from devm_gpiod_get_index_optional().  The
current code returns success.

Fixes: bb5f86ea ("ALSA: hda/tas2781: Add tas2781 hda SPI driver")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/6103e81a-13bf-4eab-89af-f6830c14e14c@stanley.mountain


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent be125a0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment