USB: musb: pm: don't rely fully on clock support
authorBob Liu <lliubbo@gmail.com>
Sat, 23 Oct 2010 10:11:58 +0000 (05:11 -0500)
committerFelipe Balbi <balbi@ti.com>
Fri, 5 Nov 2010 12:08:15 +0000 (14:08 +0200)
commit32d5dc9520f0c6f60f691dd478741c774e292406
treeb4ea6e2286efadab034bf1a93c3e8b7bb38311a1
parent5d726f5add3af537952f7c35fdaebab43b718c2d
USB: musb: pm: don't rely fully on clock support

Since clock support is optional across processors, don't make the whole
musb pm paths depend upon it.  Just conditionalize the clock accesses.

Signed-off-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c