mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 07:51:16 -04:00
pinctrl: qcom: sc7280: Fix compile bug
The idea was right but the code was breaking in next.
I assume some unstaged commit was involed. Fix it up.
Cc: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Cc: Stephen Boyd <swboyd@chromium.org>
Fixes: 36fe26843d ("pinctrl: qcom: sc7280: Add clock optional check for ADSP bypass targets")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
@@ -388,7 +388,8 @@ int lpi_pinctrl_probe(struct platform_device *pdev)
|
||||
pctrl->data = data;
|
||||
pctrl->dev = &pdev->dev;
|
||||
|
||||
data->is_clk_optional = of_property_read_bool(np, "qcom,adsp-bypass-mode");
|
||||
data->is_clk_optional = of_property_read_bool(dev->of_node,
|
||||
"qcom,adsp-bypass-mode");
|
||||
|
||||
pctrl->clks[0].id = "core";
|
||||
pctrl->clks[1].id = "audio";
|
||||
|
||||
Reference in New Issue
Block a user