Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6fb9c483 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: codecs: use correct subsystem status check"

parents 1b87936b e8a951ae
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13296,8 +13296,8 @@ static int tasha_probe(struct platform_device *pdev)
	struct wcd9xxx_power_region *cdc_pwr;

	if (wcd9xxx_get_intf_type() == WCD9XXX_INTERFACE_TYPE_I2C) {
		if (apr_get_modem_state() == APR_SUBSYS_DOWN) {
			dev_err(&pdev->dev, "%s: modem down\n", __func__);
		if (apr_get_subsys_state() == APR_SUBSYS_DOWN) {
			dev_err(&pdev->dev, "%s: dsp down\n", __func__);
			return -EPROBE_DEFER;
		}
	}