public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] sunxi: VBUS detection function fixup in g_dnl_board_usb_cable_connected
Date: Tue, 19 May 2015 18:53:18 +0200	[thread overview]
Message-ID: <555B6A7E.6090700@redhat.com> (raw)
In-Reply-To: <1431798731-28845-1-git-send-email-contact@paulk.fr>

Hi,

Thanks for these 2 fixes, I've added both to my personal tree. I'll send
a pull-req to get these into u-boot/master soon.

Regards,

Hans


On 05/16/2015 07:52 PM, Paul Kocialkowski wrote:
> sunxi_usbc_vbus_detect was renamed to sunxi_usb_phy_vbus_detect but
> g_dnl_board_usb_cable_connected was still using the old name, breaking the build
> when USB gadget is enabled.
>
> Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
> ---
>   board/sunxi/board.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/sunxi/board.c b/board/sunxi/board.c
> index 4c51468..5f79cc1 100644
> --- a/board/sunxi/board.c
> +++ b/board/sunxi/board.c
> @@ -476,7 +476,7 @@ static struct musb_hdrc_platform_data musb_plat = {
>   #ifdef CONFIG_USB_GADGET
>   int g_dnl_board_usb_cable_connected(void)
>   {
> -	return sunxi_usbc_vbus_detect(0);
> +	return sunxi_usb_phy_vbus_detect(0);
>   }
>   #endif
>
>

      parent reply	other threads:[~2015-05-19 16:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-16 17:52 [U-Boot] [PATCH 1/2] sunxi: VBUS detection function fixup in g_dnl_board_usb_cable_connected Paul Kocialkowski
2015-05-16 17:52 ` [U-Boot] [PATCH 2/2] sunxi: Cache line size definition Paul Kocialkowski
2015-05-19 16:53 ` Hans de Goede [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=555B6A7E.6090700@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox