diff options
| author | Jammy Huang <jammy_huang@aspeedtech.com> | 2022-01-25 07:44:08 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-01-28 19:32:50 +0100 |
| commit | 26aea93bd59d60cd0e4526539a88fdcada76a234 (patch) | |
| tree | 5445a2aa12f36536d55056c2d20e45a797341ad6 /include/uapi | |
| parent | 4b732a0016853eaff35944f900b0db66f3914374 (diff) | |
| download | cachepc-linux-26aea93bd59d60cd0e4526539a88fdcada76a234.tar.gz cachepc-linux-26aea93bd59d60cd0e4526539a88fdcada76a234.zip | |
media: aspeed: Use FIELD_GET to improve readability
Use the bitfield macro FIELD_GET, and GENMASK to do the shift and mask in
one go for reg values.
Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
