commit | e28b124564e648d933337a0708dae1323c518af7 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@the-dreams.de> | Sun Apr 03 20:44:44 2016 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Apr 11 18:54:59 2016 +0200 |
tree | 616a6cfaedc904c000f72c725009fc8a0c4642f7 | |
parent | bf16200689118d19de1b8d2a3c314fc21f5dc7bb [diff] |
i2c: guarantee that I2C_M_RD will be 0x0001 forever There is code out there in user space and kernel space which relies on I2C_M_RD being bit 0 to simplify their bit operations. Add a comment to make sure this will never break. Do proper sorting of the defines while we are here. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>