From: tony@atomide•com (Tony Lindgren)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] ARM: OMAP2+: Fix socbus family info for AM33xx devices
Date: Mon, 16 Mar 2015 15:30:45 -0700 [thread overview]
Message-ID: <20150316223045.GT12397@atomide.com> (raw)
In-Reply-To: <1426117118-11806-1-git-send-email-s-anna@ti.com>
* Suman Anna <s-anna@ti•com> [150311 16:39]:
> The family information in the soc-bus data is currently
> not classified properly for AM33xx devices, and a read
> of /sys/bus/soc/devices/soc0/family currently shows
> "Unknown". Fix the same.
>
> Signed-off-by: Suman Anna <s-anna@ti•com>
Thanks applying into omap-for-v4.0/fixes.
Tony
> ---
> arch/arm/mach-omap2/id.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
> index 2a2f4d56e4c8..25f1beea453e 100644
> --- a/arch/arm/mach-omap2/id.c
> +++ b/arch/arm/mach-omap2/id.c
> @@ -720,6 +720,8 @@ static const char * __init omap_get_family(void)
> return kasprintf(GFP_KERNEL, "OMAP4");
> else if (soc_is_omap54xx())
> return kasprintf(GFP_KERNEL, "OMAP5");
> + else if (soc_is_am33xx() || soc_is_am335x())
> + return kasprintf(GFP_KERNEL, "AM33xx");
> else if (soc_is_am43xx())
> return kasprintf(GFP_KERNEL, "AM43xx");
> else if (soc_is_dra7xx())
> --
> 2.3.0
>
prev parent reply other threads:[~2015-03-16 22:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-11 23:38 [PATCH] ARM: OMAP2+: Fix socbus family info for AM33xx devices Suman Anna
2015-03-16 22:30 ` Tony Lindgren [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=20150316223045.GT12397@atomide.com \
--to=tony@atomide$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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