提交 26bacba1 编写于 作者: R Roger Quadros 提交者: Samuel Ortiz

mfd: omap-usb-host: Actually update hostconfig

The helper functions omap_usbhs_rev1_hostconfig()
and omap_usbhs_rev2_hostconfig() don't write into
the hostconfig register. Make sure that we write
the return value into the hostconfig register.
Signed-off-by: NRoger Quadros <rogerq@ti.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 6dbe51c2
......@@ -460,15 +460,15 @@ static void omap_usbhs_init(struct device *dev)
switch (omap->usbhs_rev) {
case OMAP_USBHS_REV1:
omap_usbhs_rev1_hostconfig(omap, reg);
reg = omap_usbhs_rev1_hostconfig(omap, reg);
break;
case OMAP_USBHS_REV2:
omap_usbhs_rev2_hostconfig(omap, reg);
reg = omap_usbhs_rev2_hostconfig(omap, reg);
break;
default: /* newer revisions */
omap_usbhs_rev2_hostconfig(omap, reg);
reg = omap_usbhs_rev2_hostconfig(omap, reg);
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册