[COMMON] media: mfc: DRV4.0: introduce bit op macros
authorSunyoung Kang <sy0816.kang@samsung.com>
Tue, 3 Jul 2018 07:56:59 +0000 (16:56 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 06:19:01 +0000 (15:19 +0900)
commit5ebc55f982c99d744cf7f68092f197a9aed4e7ae
tree52c89c666a668a86a7108b8f3c1b04a2b937f2d1
parent8c47ada09b7cfc59ddc67c806b7a536014146cc8
[COMMON] media: mfc: DRV4.0: introduce bit op macros

This provides the bit operation macros
- mfc_clear_bits()
- mfc_set_bits()
- mfc_clear_set_bits()
Sometimes the bit operation code makes a bug so this will be useful.
And these are applied to H.264 enc param setting code.

Change-Id: I6b863b6d44b04facc8d0b8c9fe9d02dfa747a01d
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
drivers/media/platform/exynos/mfc/mfc_enc_param.c
drivers/media/platform/exynos/mfc/mfc_utils.h