]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: tusb6010: Use musb->tusb_revision instead of tusb_get_revision call.
authorMatwey V. Kornilov <matwey@sai.msu.ru>
Fri, 16 May 2014 14:20:52 +0000 (18:20 +0400)
committerFelipe Balbi <balbi@ti.com>
Fri, 16 May 2014 17:16:31 +0000 (12:16 -0500)
commit56f5b6f6df08b6a2aba0e64b2834f808a7cf5e92
treecda68aa60e88082a65b14ea0b1363a210ee8c4f2
parentdc8818452e7f8f3693d1af653ccee7023848ed59
usb: musb: tusb6010: Use musb->tusb_revision instead of tusb_get_revision call.

The value of the revision is stored in musb->tusb_revision,
so don't re-read it every time.
Exporting tusb_get_revision is not needed anymore,
so the dependency loop between tusb6010 and tusb6010_omap is resolved.

Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/tusb6010.c
drivers/usb/musb/tusb6010.h
drivers/usb/musb/tusb6010_omap.c