]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: i2c_cdns: Enable i2c clock
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Wed, 3 Feb 2021 10:10:46 +0000 (03:10 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 23 Feb 2021 13:56:59 +0000 (14:56 +0100)
commit8faa7913a425e9737df8e4183030dd72c1d668b7
treebd23dc1a2b31346c812ac329acf6ad3bb1e7c5e9
parent60b03f1cc408ffd2360303da4c5d09bec47b8cc2
i2c: i2c_cdns: Enable i2c clock

Enable i2c controller clock from driver probe function
by calling clk_enable().

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-cdns.c