[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150405090603.GR20669@piout.net>
Date: Sun, 5 Apr 2015 11:06:03 +0200
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: rtc-linux@...glegroups.com
Cc: akpm@...ux-foundation.org, Alessandro Zummo <a.zummo@...ertech.it>,
linux-kernel@...r.kernel.org, linux-rockchip@...ts.infradead.org
Subject: Re: [rtc-linux] [PATCH] rtc: hym8563: fix swapped enable/disable of
clockout control bit
On 05/04/2015 at 02:20:24 +0200, Heiko Stübner wrote :
> The hym8563 datasheet describes the clock output control-bit as "when set
> to logic 0, the square wave output is enable, when set to logic 1, the
> CLKOUT output is inhibited". But in reality the setting is exactly
> opposite.
>
> Before now, the clock output was not really used, but on the rk3288 soc
> this generated clock is used to supply the temperature sensor block and
> the swapped bit value prevented it from working. With the corrected value,
> the tsadc now reports correct values.
>
> Signed-off-by: Heiko Stuebner <heiko@...ech.de>
Acked-by: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
Should that patch be applied on any stable version too?
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists