From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 27 Sep 2011 21:40:35 +0200 Subject: [U-Boot] [PATCH v6 2/4] EHCI: add callback ehci_fixup In-Reply-To: <1317151457-15387-1-git-send-email-fermata7@gmail.com> References: <1317151457-15387-1-git-send-email-fermata7@gmail.com> Message-ID: <201109272140.36085.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday, September 27, 2011 09:24:15 PM Jana Rapava wrote: > Add callback to ehci_fixup to prepare > for solving the problem with VBUS reset on Efika. > > Signed-off-by: Jana Rapava > Cc: Marek Vasut > Cc: Remy Bohmer > Cc: Stefano Babic > --- > Changes for v4: > - split into patchset > - add callback ehci_fixup > Changes for v5: > - make this the second patch in series > - add comment to alias ehci_fixup > Changes for v6: > - make the comment a sentence > - rebase patch on top of u-boot-imx/next > > drivers/usb/host/ehci-hcd.c | 13 ++++++++++++- > 1 files changed, 12 insertions(+), 1 deletions(-) > > diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c > index bdadd46..da09f51 100644 > --- a/drivers/usb/host/ehci-hcd.c > +++ b/drivers/usb/host/ehci-hcd.c > @@ -536,6 +536,17 @@ static inline int min3(int a, int b, int c) > return a; > } > > +inline void __ehci_fixup(uint32_t *status_reg, uint32_t *reg_ref) > +{ > + wait_ms(50); > +} > + > +/* This function will alias to __ehci_fixup, > + * unless function ehci_fixup is defined somewhere. > +*/ Dear Jana Rapava, this is still wrong, the comment starts one line below the opening.