From: t.figa@samsung.com (Tomasz Figa)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: S3C24XX: Add missing clkdev entries for s3c2440 UART
Date: Mon, 22 Jul 2013 19:14:53 +0200 [thread overview]
Message-ID: <1877003.j5SlNHUNT8@amdc1227> (raw)
In-Reply-To: <1374435765-6747-1-git-send-email-sylvester.nawrocki@gmail.com>
On Sunday 21 of July 2013 21:42:45 Sylwester Nawrocki wrote:
> This patch restores serial port operation which has been broken since
> commit 60e93575476f90a72146b51283f514da655410a7
> serial: samsung: enable clock before clearing pending interrupts during
> init
>
> That commit only uncovered the real issue which was missing clkdev
> entries for the "uart" clocks on S3C2440. It went unnoticed so far
> because return value of clk API calls were not being checked at all
> in the samsung serial port driver.
>
> This patch should be backported to at least 3.10 stable kernel, since
> the serial port has not been working on s3c2440 since 3.10-rc5.
>
> Cc: Chander Kashyap <chander.kashyap@linaro.org>
> Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
> [on S3C2440 SoC based Mini2440 board]
> Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
> ---
>
> There seems to be something wrong with the process, as things are
> getting broken late in the -rc cycle. It seems author of the above
> mentioned commit didn't test all 6 SoC series that the samsung
> serial driver handles. While I can understand they might not have
> all required hardware it's a bit irritating that the patch that
> in practice caused regression appeared only on linux-serial mailing
> list. And it's not evident it was even tried to test it on all
> potentially affected platforms. It not clear on what platforms
> the patch has been tested.
>
> My humble suggestion is, _please_ do send patches that affect multiple
> Samsung SoCs to linux-samsung at vger.kernel.org. So there is better
> review and test exposure. And we can reduce mess like this happening
> in the future.
>
> Thanks!
> Sylwester
> ---
> arch/arm/mach-s3c24xx/clock-s3c2410.c | 161
> +++++++++++++++++----------- arch/arm/mach-s3c24xx/clock-s3c2440.c
> | 3 +
> arch/arm/plat-samsung/include/plat/clock.h | 5 +
> 3 files changed, 106 insertions(+), 63 deletions(-)
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Best regards,
Tomasz
next prev parent reply other threads:[~2013-07-22 17:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-21 19:42 [PATCH] ARM: S3C24XX: Add missing clkdev entries for s3c2440 UART Sylwester Nawrocki
2013-07-22 4:39 ` Kukjin Kim
2013-07-22 17:14 ` Tomasz Figa [this message]
2013-07-23 7:57 ` Jürgen Beisert
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=1877003.j5SlNHUNT8@amdc1227 \
--to=t.figa@samsung.com \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox