rk_i2c_transfer: minor improvement to bit twiddling
No need to mask a uint8_t with 0xff, the mask covers the whole type.
Explcitly cast to uint32_t before bit shifting instead of relying on
the implicit promotion to signed int.
MFC after: 1 week
rk_i2c_transfer: minor improvement to bit twiddling Tags None Referenced Files None Subscribers None
Description
Details
|