Re: [PATCH] i2c: designware_i2c: remove apparently redundant read of 'i2c,speeds' DT property

2023-04-11 Thread Heiko Schocher
Hello Rasmus, On 24.03.23 09:09, Rasmus Villemoes wrote: > This code first figures out if there is an i2c,speeds property, if so > its size in u32s, and then reads the value into the local speeds[] > array. Both 'size' and 'speeds' are completely unused thereafter. > > It's not at all clear what

[PATCH] i2c: designware_i2c: remove apparently redundant read of 'i2c, speeds' DT property

2023-03-24 Thread Rasmus Villemoes
This code first figures out if there is an i2c,speeds property, if so its size in u32s, and then reads the value into the local speeds[] array. Both 'size' and 'speeds' are completely unused thereafter. It's not at all clear what this is supposed to do. Of course, it could be seen as a sanity chec