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)
commitcadcec76ef1f167c628dcc59d6dfca257a56640b
tree3dafa51293fca7a5a9706b61d59126a129479a8e
parent6b673fdbd594b0b75eb3ddd9f79d05f860983092
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