diff --git a/drivers/clk/clk-wm831x.c b/drivers/clk/clk-wm831x.c index c370ecb6b6854a5d50c03837289c3ac3a2b473cb..805b4c3440064ad5509e7a749adc5092e2230583 100644 --- a/drivers/clk/clk-wm831x.c +++ b/drivers/clk/clk-wm831x.c @@ -360,6 +360,8 @@ static int wm831x_clk_probe(struct platform_device *pdev) if (!clkdata) return -ENOMEM; + clkdata->wm831x = wm831x; + /* XTAL_ENA can only be set via OTP/InstantConfig so just read once */ ret = wm831x_reg_read(wm831x, WM831X_CLOCK_CONTROL_2); if (ret < 0) {