lkml.org 
[lkml]   [2017]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v9 5/6] i2c: designware: add SLAVE mode functions
From
Date
On 05/08/2017 07:53 PM, Andy Shevchenko wrote:
>> + } else if (reg == (DW_IC_COMP_TYPE_VALUE & 0x0000ffff)) {
>
> GENMASK(15, 0)
>
I don't think this increase readability compared to 0x0000ffff here.

--
Jarkko

\
 
 \ /
  Last update: 2017-05-11 15:22    [W:0.114 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site