Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fsl-viu: adjust for OF based clock lookup

after device tree based clock lookup became available, the VIU driver
need no longer use the previous global "viu_clk" name, but should use
the "ipg" clock name specific to the OF node

Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: linux-media@vger.kernel.org
Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>

authored by

Gerhard Sittig and committed by
Anatolij Gustschin
17552189 10de271f

+1 -1
+1 -1
drivers/media/platform/fsl-viu.c
··· 1580 1580 } 1581 1581 1582 1582 /* enable VIU clock */ 1583 - clk = devm_clk_get(&op->dev, "viu_clk"); 1583 + clk = devm_clk_get(&op->dev, "ipg"); 1584 1584 if (IS_ERR(clk)) { 1585 1585 dev_err(&op->dev, "failed to lookup the clock!\n"); 1586 1586 ret = PTR_ERR(clk);