Merge tag 'sound-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[linux-block.git] / sound / soc / codecs / tas5720.c
index de6d01c8fdd340012592f147278817c79f1ae108..4d27b60bd8043bc3b4935af60d2fe005ea38fb6c 100644 (file)
@@ -339,7 +339,8 @@ static int tas5720_codec_probe(struct snd_soc_component *component)
                break;
        default:
                dev_err(component->dev, "unexpected private driver data\n");
-               return -EINVAL;
+               ret = -EINVAL;
+               goto probe_fail;
        }
 
        if (device_id != expected_device_id)