]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: avoid an extra memset() when alloc memory
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 28 May 2020 07:17:28 +0000 (09:17 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 16:20:10 +0000 (18:20 +0200)
commit33a0e59a3f783c82c4cac50f9c82d0b92f2d228e
tree3dafa51293fca7a5a9706b61d59126a129479a8e
parentcff77a138e145f8dfd7ca26391676ffb82b4266e
media: atomisp: avoid an extra memset() when alloc memory

Use the variant which zeroes the memory when allocating,
instead of having an explicit memset.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c
drivers/staging/media/atomisp/pci/sh_css.c