[COMMON] fimc-is2: Modified get_mcsc_hw_ip function related codes
authorSunmi Lee <carrotsm.lee@samsung.com>
Fri, 29 Jun 2018 01:43:32 +0000 (10:43 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:05:59 +0000 (17:05 +0900)
commitc045c6e516f1c683a6bf3ef3012b81548a68ddb2
tree26c5596c45c1a6bc080ce61c49e3bb4e3e4f65a2
parent5374e3b03072aa4553853af44dcadc114a6c6ae1
[COMMON] fimc-is2: Modified get_mcsc_hw_ip function related codes

To increase the readability, get_mcsc_hw_ip function was changed.
And check_sc_core_running function is introduced to check the state of hw_mcsc0 and hw_mcsc1 at the same time.
Also variables that have unclear name - hw_ip0 and hw_ip1 - were changed.

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