i2c: designware_i2c: Don't allow changing IC_CLK
authorSimon Glass <sjg@chromium.org>
Thu, 23 Jan 2020 18:48:05 +0000 (11:48 -0700)
committerHeiko Schocher <hs@denx.de>
Mon, 27 Jan 2020 06:18:32 +0000 (07:18 +0100)
commit25eb0fb667dc64cb819905deccccbb36908e5bd6
treecb75b488d4494ba09c01dfa955a6a409d1b9da62
parent0fd05c9dcfd1f355bcc426cd263da8b2b85706ad
i2c: designware_i2c: Don't allow changing IC_CLK

If a different input clock is required then the correct way to do this is
with a clock driver. Don't allow boards to override IC_CLK.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/designware_i2c.h