aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-core-of.c
diff options
context:
space:
mode:
authorAnnaliese McDermond <nh6z@nh6z.net>2019-06-21 03:52:50 -0700
committerWolfram Sang <wsa@the-dreams.de>2019-06-26 15:14:48 +0200
commit9de93b04df16b055824e3f1f13fedb90fbcf2e4f (patch)
tree0073e4ab7912f21095a221e69ca48bcc7c1e9c50 /drivers/i2c/i2c-core-of.c
parenti2c: bcm2835: Move IRQ request after clock code in probe (diff)
downloadlinux-dev-9de93b04df16b055824e3f1f13fedb90fbcf2e4f.tar.xz
linux-dev-9de93b04df16b055824e3f1f13fedb90fbcf2e4f.zip
i2c: bcm2835: Ensure clock exists when probing
Probe function fails to recognize that upstream clock actually doesn't yet exist because clock driver has not been initialized. Actually try to go get the clock and test for its existence before trying to set up a downstream clock based upon it. This fixes a bug that causes the i2c driver not to work with monolithic kernels. Fixes: bebff81fb8b9 ("i2c: bcm2835: Model Divider in CCF") Signed-off-by: Annaliese McDermond <nh6z@nh6z.net> Acked-by: Stefan Wahren <wahrenst@gmx.net> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-core-of.c')
0 files changed, 0 insertions, 0 deletions