lkml.org 
[lkml]   [2015]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RESEND PATCH 0/9] eeprom: at24: at24cs series serial number read
Date
>>>>> "Bartosz" == Bartosz Golaszewski <bgolaszewski@baylibre.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


\
 
 \ /
  Last update: 2015-10-21 17:21    [W:0.088 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site