diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2013-04-10 06:23:05 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-14 15:50:31 -0300 |
commit | a6f5635e63ffa02c30a22ea4af21f3daa1e98cdf (patch) | |
tree | 48581b597f3ff45132d968db30d91cb0e1da5fa9 /drivers/media/platform/exynos4-is/fimc-is.h | |
parent | 4c8f0629f53bb198ed00c2c54cf80cc2be95acab (diff) | |
download | lwn-a6f5635e63ffa02c30a22ea4af21f3daa1e98cdf.tar.gz lwn-a6f5635e63ffa02c30a22ea4af21f3daa1e98cdf.zip |
[media] exynos4-is: Improve the ISP chain parameter count calculation
Instead of incrementing p_region_num field each time we set a bit
in the parameter mask calculate the number of bits set only when
this information is needed.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-is.h')
-rw-r--r-- | drivers/media/platform/exynos4-is/fimc-is.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/exynos4-is/fimc-is.h b/drivers/media/platform/exynos4-is/fimc-is.h index 936e2ca5c1d2..9406894f306d 100644 --- a/drivers/media/platform/exynos4-is/fimc-is.h +++ b/drivers/media/platform/exynos4-is/fimc-is.h @@ -226,7 +226,6 @@ struct is_config_param { struct drc_param drc; struct fd_param fd; - atomic_t p_region_num; unsigned long p_region_index1; unsigned long p_region_index2; }; |