]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: ux500: Don't supply a con_id when requesting the clock
authorLee Jones <lee.jones@linaro.org>
Wed, 18 Sep 2013 07:58:18 +0000 (08:58 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Sep 2013 09:06:01 +0000 (11:06 +0200)
commitc2cbcd06ba97d8943cd5970ee72725e5c6075507
treecd0d79c26b190529daab0b276a40657b70175e60
parent4ff068bafcd5027da0d69907117c73d8ff2f381e
usb: musb: ux500: Don't supply a con_id when requesting the clock

If we supply a con_id then the clock framework will search for that name
in MUSB's Device Tree node for the 'clock-names' property. If it's absent
the clock request will fail. However, if we don't supply the con_id then
clk_get() will call into clk_sys() which will use the device name to
search for the appropriate clock, which is much more natural than forcing
'usb'.

Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/usb/musb/ux500.c