diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2014-01-26 21:13:13 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-12-23 11:33:05 -0200 |
commit | 575ea5b3a41c3facb6e7973fdce865d208bf89c9 (patch) | |
tree | f2af9bee16f1ba110c4137721466a79ba3b311d6 /drivers/media/i2c | |
parent | f73108eb8e804180cb7f834649c670ba8b892777 (diff) | |
download | lwn-575ea5b3a41c3facb6e7973fdce865d208bf89c9.tar.gz lwn-575ea5b3a41c3facb6e7973fdce865d208bf89c9.zip |
[media] smiapp: The sensor only needs a single clock, name may be NULL
The SMIA compatible sensors only need a single clock.
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r-- | drivers/media/i2c/smiapp/smiapp-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c index 2c65ff3ed769..3dd32b1761e4 100644 --- a/drivers/media/i2c/smiapp/smiapp-core.c +++ b/drivers/media/i2c/smiapp/smiapp-core.c @@ -2482,7 +2482,7 @@ static int smiapp_registered(struct v4l2_subdev *subdev) } if (!sensor->platform_data->set_xclk) { - sensor->ext_clk = devm_clk_get(&client->dev, "ext_clk"); + sensor->ext_clk = devm_clk_get(&client->dev, NULL); if (IS_ERR(sensor->ext_clk)) { dev_err(&client->dev, "could not get clock\n"); return PTR_ERR(sensor->ext_clk); |