summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp
diff options
context:
space:
mode:
authorVarsha Rao2017-03-04 18:12:00 +0100
committerGreg Kroah-Hartman2017-03-06 11:17:41 +0100
commit80833c18a748f6915cd65df1105e4c75ab477d46 (patch)
tree74fa3f607ddae3e6b3a3cc88862028123569e852 /drivers/staging/media/atomisp/pci/atomisp2/css2400/isp
parentstaging: media: atomisp: Added spaces around arithmetic and bitwise operators. (diff)
downloadkernel-qcow2-linux-80833c18a748f6915cd65df1105e4c75ab477d46.tar.gz
kernel-qcow2-linux-80833c18a748f6915cd65df1105e4c75ab477d46.tar.xz
kernel-qcow2-linux-80833c18a748f6915cd65df1105e4c75ab477d46.zip
staging: media: atomisp: Replace 'uint32_t' with kernel type u32.
Replaced 'uint32_t' with kernel type u32, to fix the checkpatch issue. Signed-off-by: Varsha Rao <rvarsha016@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/css2400/isp')
-rw-r--r--drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/bnlm/ia_css_bnlm.host.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/bnlm/ia_css_bnlm.host.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/bnlm/ia_css_bnlm.host.c
index 5ff25299d231..46b702ebd633 100644
--- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/bnlm/ia_css_bnlm.host.c
+++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/bnlm/ia_css_bnlm.host.c
@@ -43,9 +43,9 @@ static const int32_t div_lut_intercepts[BNLM_DIV_LUT_SIZE] = {
static inline void
bnlm_lut_encode(struct bnlm_lut *lut, const int32_t *lut_thr, const int32_t *lut_val, const uint32_t lut_size)
{
- uint32_t blk, i;
- const uint32_t block_size = 16;
- const uint32_t total_blocks = ISP_VEC_NELEMS / block_size;
+ u32 blk, i;
+ const u32 block_size = 16;
+ const u32 total_blocks = ISP_VEC_NELEMS / block_size;
/* Create VMEM LUTs from the threshold and value arrays.
*
@@ -79,7 +79,7 @@ bnlm_lut_encode(struct bnlm_lut *lut, const int32_t *lut_thr, const int32_t *lut
/* Copy data from first block to all blocks */
for (blk = 1; blk < total_blocks; blk++) {
- uint32_t blk_offset = blk * block_size;
+ u32 blk_offset = blk * block_size;
for (i = 1; i < lut_size; i++) {
lut->thr[0][blk_offset + i] = lut->thr[0][i];
lut->val[0][blk_offset + i] = lut->val[0][i];