diff options
author | Phil Carmody <phil.carmody@partner.samsung.com> | 2013-05-31 13:47:00 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-12 22:04:09 -0300 |
commit | 0e761b21b9d6c7a95a8e2b858af85d07f6c62d99 (patch) | |
tree | 6f45a4188978ce5998ee58b2eea05dd798a4746f /drivers/media/platform/exynos4-is/fimc-isp.c | |
parent | 5c327e73991485008c941436fb96413d9b010254 (diff) | |
download | lwn-0e761b21b9d6c7a95a8e2b858af85d07f6c62d99.tar.gz lwn-0e761b21b9d6c7a95a8e2b858af85d07f6c62d99.zip |
[media] exynos4-is: Simplify bitmask usage
Merge the two sets of flags into one array to simplify accessing
arbitrary bits from them.
Signed-off-by: Phil Carmody <phil.carmody@partner.samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-isp.c')
-rw-r--r-- | drivers/media/platform/exynos4-is/fimc-isp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/exynos4-is/fimc-isp.c b/drivers/media/platform/exynos4-is/fimc-isp.c index d63947f7b302..0fefb53a5b56 100644 --- a/drivers/media/platform/exynos4-is/fimc-isp.c +++ b/drivers/media/platform/exynos4-is/fimc-isp.c @@ -317,8 +317,8 @@ static int fimc_isp_subdev_s_power(struct v4l2_subdev *sd, int on) clear_bit(IS_ST_PWR_ON, &is->state); clear_bit(IS_ST_INIT_DONE, &is->state); is->state = 0; - is->config[is->config_index].p_region_index1 = 0; - is->config[is->config_index].p_region_index2 = 0; + is->config[is->config_index].p_region_index[0] = 0; + is->config[is->config_index].p_region_index[1] = 0; set_bit(IS_ST_IDLE, &is->state); wmb(); } |