]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: i2c: imx415: Request the sensor clock without a name
authorMatthias Fend <matthias.fend@emfend.at>
Wed, 14 May 2025 10:51:01 +0000 (12:51 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Mon, 30 Jun 2025 06:47:40 +0000 (08:47 +0200)
Request the sensor clock without specifying a name so that the driver
behaves as described in the imx415 bindings.

Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
Reviewed-by: Jai Luthra <jai.luthra@ideasonboard.com>
Reviewed-by: Michael Riesch <michael.riesch@collabora.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/imx415.c

index 9f37779bd6111f434c198ad1cf70c14b80724042..278e743646ea15819d5a79577e786b47c259dbfa 100644 (file)
@@ -1251,7 +1251,7 @@ static int imx415_parse_hw_config(struct imx415 *sensor)
                return dev_err_probe(sensor->dev, PTR_ERR(sensor->reset),
                                     "failed to get reset GPIO\n");
 
-       sensor->clk = devm_clk_get(sensor->dev, "inck");
+       sensor->clk = devm_clk_get(sensor->dev, NULL);
        if (IS_ERR(sensor->clk))
                return dev_err_probe(sensor->dev, PTR_ERR(sensor->clk),
                                     "failed to get clock\n");