[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87k2qgtg2t.fsf@dell.be.48ers.dk>
Date: Wed, 21 Oct 2015 17:08:10 +0200
From: Peter Korsgaard <peter@...sgaard.com>
To: Bartosz Golaszewski <bgolaszewski@...libre.com>
Cc: Wolfram Sang <wsa@...-dreams.de>,
linux-i2c <linux-i2c@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [RESEND PATCH 0/9] eeprom: at24: at24cs series serial number read
>>>>> "Bartosz" == Bartosz Golaszewski <bgolaszewski@...libre.com> writes:
Hi,
>> > I wanted to respond that this way we would not be protected from
>> > concurrent accesses, but then I saw I didn't actually include any
>> > locks in the serial read function - my bad. It needs to be fixed as
>> > both memory blocks share the same address pointer.
>>
>> > I'll resend the series.
>>
>> But we're protected by the i2c bus lock, right? You do a single
>> i2c_transfer to read the serial number.
> Why the at24->lock then?
I'm not sure. Wolfram?
--
Bye, Peter Korsgaard
--
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