[COMMON] fimc-is2: Modified the implementation of hw_mcsc_wdma_cfg
authorSunmi Lee <carrotsm.lee@samsung.com>
Fri, 29 Jun 2018 03:55:58 +0000 (12:55 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:06:05 +0000 (17:06 +0900)
commitcde6aa5f54c382be89e23342f0b9ec96fca0b912
tree6765c40fe26690b3571c68b1803e36ffc688cc10
parent04bcfac023bc3b59a28127a38bcd8e3ee51fbc25
[COMMON] fimc-is2: Modified the implementation of hw_mcsc_wdma_cfg

To increase the readability, hw_mcsc_wdma_cfg function was changed.
- check_shared_out_running was added as macro function
- hw_mcsc_set_wdma_addr function was separated from wdma_cfg function.
- i was substituted to out_id.

Change-Id: I3e68d5c6f5d836f55757f135d34acf7727961da9
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c