[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.55.0805090054300.5944@cliff.in.clinika.pl>
Date: Fri, 9 May 2008 01:17:21 +0100 (BST)
From: "Maciej W. Rozycki" <macro@...ux-mips.org>
To: Atsushi Nemoto <anemo@....ocn.ne.jp>
cc: a.zummo@...ertech.it, khali@...ux-fr.org, ralf@...ux-mips.org,
tglx@...utronix.de, akpm@...ux-foundation.org,
rtc-linux@...glegroups.com, i2c@...sensors.org,
linux-mips@...ux-mips.org, linux-kernel@...r.kernel.org,
ab@...able.de, mgreer@...sta.com
Subject: Re: [RFC][PATCH 4/4] RTC: SMBus support for the M41T80, etc. driver
On Thu, 8 May 2008, Atsushi Nemoto wrote:
> For write transfer, you must use only one i2c_msg. If two i2c_msg
> were used, the slave address is inserted between register number and
> first data. This chip cannot accept such sequence.
Correct, thank you for pointing it out -- verified with the datasheet. I
will send an updated patch separately taking other suggestions into
account as well.
> On success, m41t80_i2c_transfer() returns positive value, but
> m41t80_transfer() should return 0.
I think the check should be for values below zero as originally instead.
Thanks for the point again.
Maciej
--
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