Re: [PATCH v9 5/6] i2c: designware: add SLAVE mode functions

From: Jarkko Nikula
Date: Thu May 11 2017 - 09:21:44 EST


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