All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukasz Majewski <l.majewski@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] usb: invoke board specific USB cleanup interface
Date: Tue, 24 Feb 2015 12:56:31 +0100	[thread overview]
Message-ID: <20150224125631.44607b57@amdc2363> (raw)
In-Reply-To: <1421651236-9760-3-git-send-email-ideal.song@samsung.com>

Hi Inha,

> This patch invoke board-specific USB cleanup (board_usb_cleanup)
> interface.
> 
> Signed-off-by: Inha Song <ideal.song@samsung.com>
> ---
>  common/cmd_dfu.c              | 1 +
>  common/cmd_thordown.c         | 1 +
>  common/cmd_usb_mass_storage.c | 1 +
>  3 files changed, 3 insertions(+)
> 
> diff --git a/common/cmd_dfu.c b/common/cmd_dfu.c
> index e975abe..161d38b 100644
> --- a/common/cmd_dfu.c
> +++ b/common/cmd_dfu.c
> @@ -68,6 +68,7 @@ static int do_dfu(cmd_tbl_t *cmdtp, int flag, int
> argc, char * const argv[]) }
>  exit:
>  	g_dnl_unregister();
> +	board_usb_cleanup(controller_index, USB_INIT_DEVICE);
>  done:
>  	dfu_free_entities();
>  
> diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c
> index 8ed1dc6..436b7f5 100644
> --- a/common/cmd_thordown.c
> +++ b/common/cmd_thordown.c
> @@ -56,6 +56,7 @@ int do_thor_down(cmd_tbl_t *cmdtp, int flag, int
> argc, char * const argv[]) 
>  exit:
>  	g_dnl_unregister();
> +	board_usb_cleanup(controller_index, USB_INIT_DEVICE);
>  done:
>  	dfu_free_entities();
>  
> diff --git a/common/cmd_usb_mass_storage.c
> b/common/cmd_usb_mass_storage.c index 2c879ea..53a765e 100644
> --- a/common/cmd_usb_mass_storage.c
> +++ b/common/cmd_usb_mass_storage.c
> @@ -154,6 +154,7 @@ int do_usb_mass_storage(cmd_tbl_t *cmdtp, int
> flag, }
>  exit:
>  	g_dnl_unregister();
> +	board_usb_cleanup(controller_index, USB_INIT_DEVICE);
>  	return CMD_RET_SUCCESS;
>  }Lukasz Majewski <l.majewski@samsung.com>
>  

Acked-by: Lukasz Majewski <l.majewski@samsung.com>

-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group

  reply	other threads:[~2015-02-24 11:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-19  7:07 [U-Boot] [PATCH 0/2] Invoke board specific board_usb_cleanup function Inha Song
2015-01-19  7:07 ` [U-Boot] [PATCH 1/2] usb: common: provide a _weak board_usb_cleanup() function Inha Song
2015-02-24 11:56   ` Lukasz Majewski
2015-02-24 16:05     ` Lukasz Majewski
2015-02-24 17:34       ` Marek Vasut
2015-02-25  9:15         ` Lukasz Majewski
2015-02-25 17:02           ` Marek Vasut
2015-02-26  8:20             ` Lukasz Majewski
2015-01-19  7:07 ` [U-Boot] [PATCH 2/2] usb: invoke board specific USB cleanup interface Inha Song
2015-02-24 11:56   ` Lukasz Majewski [this message]
2015-02-24 16:20   ` Rob Herring
2015-02-25  9:58     ` Inha Song
2015-02-25 13:10       ` Tom Rini
2015-01-19  8:50 ` [U-Boot] [PATCH 0/2] Invoke board specific board_usb_cleanup function Marek Vasut
2015-01-19  9:18   ` Inha Song
2015-01-19 15:02     ` Marek Vasut

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=20150224125631.44607b57@amdc2363 \
    --to=l.majewski@samsung.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.