mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
staging: nvec: fix clock setup
commit 30b68231 "ARM: tegra: clock: add i2c fast clock entry in clock table" added a new clock for the i2c controllers, so clock requests are no longer conclusive. Fix this by specifying "div-clk" explicitly. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4f19b38f13
commit
4344379f63
1 changed files with 1 additions and 1 deletions
|
@ -770,7 +770,7 @@ static int __devinit tegra_nvec_probe(struct platform_device *pdev)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
i2c_clk = clk_get_sys("tegra-i2c.2", NULL);
|
i2c_clk = clk_get_sys("tegra-i2c.2", "div-clk");
|
||||||
if (IS_ERR(i2c_clk)) {
|
if (IS_ERR(i2c_clk)) {
|
||||||
dev_err(nvec->dev, "failed to get controller clock\n");
|
dev_err(nvec->dev, "failed to get controller clock\n");
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
Loading…
Reference in a new issue