diff options
Diffstat (limited to 'drivers/usb/musb/musb_core.c')
-rw-r--r-- | drivers/usb/musb/musb_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 2c53da77131..a6dc18cde27 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c | |||
@@ -2234,7 +2234,7 @@ void musb_save_context(struct musb *musb) | |||
2234 | 2234 | ||
2235 | musb_writeb(musb_base, MUSB_INDEX, musb_context.index); | 2235 | musb_writeb(musb_base, MUSB_INDEX, musb_context.index); |
2236 | 2236 | ||
2237 | musb_platform_save_context(&musb_context); | 2237 | musb_platform_save_context(musb, &musb_context); |
2238 | } | 2238 | } |
2239 | 2239 | ||
2240 | void musb_restore_context(struct musb *musb) | 2240 | void musb_restore_context(struct musb *musb) |
@@ -2243,7 +2243,7 @@ void musb_restore_context(struct musb *musb) | |||
2243 | void __iomem *musb_base = musb->mregs; | 2243 | void __iomem *musb_base = musb->mregs; |
2244 | void __iomem *ep_target_regs; | 2244 | void __iomem *ep_target_regs; |
2245 | 2245 | ||
2246 | musb_platform_restore_context(&musb_context); | 2246 | musb_platform_restore_context(musb, &musb_context); |
2247 | 2247 | ||
2248 | if (is_host_enabled(musb)) { | 2248 | if (is_host_enabled(musb)) { |
2249 | musb_writew(musb_base, MUSB_FRAME, musb_context.frame); | 2249 | musb_writew(musb_base, MUSB_FRAME, musb_context.frame); |