From: patrick Date: Mon, 20 Aug 2018 16:48:47 +0000 (+0000) Subject: Enable I2C clocks in imxiic(4). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a247d434452b3954d3ef3a586f046454546291f5;p=openbsd Enable I2C clocks in imxiic(4). --- diff --git a/sys/dev/fdt/imxiic.c b/sys/dev/fdt/imxiic.c index 56f324f6d21..54de59ac253 100644 --- a/sys/dev/fdt/imxiic.c +++ b/sys/dev/fdt/imxiic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imxiic.c,v 1.5 2018/08/06 10:52:30 patrick Exp $ */ +/* $OpenBSD: imxiic.c,v 1.6 2018/08/20 16:48:47 patrick Exp $ */ /* * Copyright (c) 2013 Patrick Wildt * @@ -131,7 +131,7 @@ imxiic_attach(struct device *parent, struct device *self, void *aux) printf("\n"); - /* set iomux pins */ + clock_enable(faa->fa_node, NULL); pinctrl_byname(faa->fa_node, "default"); /* set speed */