All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH/RFC 4/6] arm: shmobile: r8a7791: Obtain MD pin value using boot-mode-reg
Date: Thu, 15 Oct 2015 11:06:49 +0000	[thread overview]
Message-ID: <561F88C9.7080805@cogentembedded.com> (raw)
In-Reply-To: <1444892377-10170-5-git-send-email-horms+renesas@verge.net.au>

On 10/15/2015 9:59 AM, Simon Horman wrote:

> Use new boot mode reg infrastructure to obtain the mode pin
> value when initialising SMP for r8a7791 SoC.
>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> ---
>   arch/arm/mach-shmobile/smp-r8a7791.c | 13 ++++++++++++-
>   1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-shmobile/smp-r8a7791.c b/arch/arm/mach-shmobile/smp-r8a7791.c
> index b2508c0d276b..595499834293 100644
> --- a/arch/arm/mach-shmobile/smp-r8a7791.c
> +++ b/arch/arm/mach-shmobile/smp-r8a7791.c
[...]
> @@ -45,8 +47,17 @@ static void __init r8a7791_smp_prepare_cpus(unsigned int max_cpus)
>   static int r8a7791_smp_boot_secondary(unsigned int cpu,
>   				      struct task_struct *idle)
>   {
> +	int err;
> +	u32 mode;
> +
> +	err = boot_mode_reg_get(&mode);
> +	if (err) {
> +		pr_warn("Unable retrieve boot mode register\n");

    There's "to" missing in this string.

[...]

MBR, Sergei


  reply	other threads:[~2015-10-15 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15  6:59 [PATCH/RFC 4/6] arm: shmobile: r8a7791: Obtain MD pin value using boot-mode-reg Simon Horman
2015-10-15 11:06 ` Sergei Shtylyov [this message]
2015-10-26  4:34 ` Simon Horman

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=561F88C9.7080805@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-sh@vger.kernel.org \
    /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.