diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2022-11-07 14:42:39 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-11-12 07:37:30 +0100 |
commit | 4d827824b7bb29ce944172f6297db6d7a1ec37b3 (patch) | |
tree | 7b9a141588aad12196dcf116a2ec48dea1e7c2aa /lib/ratelimit.c | |
parent | i2c: designware: Empty receive FIFO in slave interrupt handler (diff) | |
download | linux-4d827824b7bb29ce944172f6297db6d7a1ec37b3.tar.xz linux-4d827824b7bb29ce944172f6297db6d7a1ec37b3.zip |
i2c: designware: Define software status flags with BIT()
Define software status flags with a BIT() macro. While at it remove
STATUS_IDLE and replace its use with zero initialization and status
flags clearing with a mask.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'lib/ratelimit.c')
0 files changed, 0 insertions, 0 deletions