media: atomisp: drop ATOMISP_MAP_FLAG_CLEARED
authorHans de Goede <hdegoede@redhat.com>
Wed, 15 Jun 2022 20:50:22 +0000 (21:50 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 15:22:55 +0000 (16:22 +0100)
commit9f40d3a79dd69b9d7a684db2cad0217a456de372
tree6b65d09fdd475d3161849ac812578e1af6d51a97
parent2c19beb23dd0d15af3407cf4d0d9ea31f1913632
media: atomisp: drop ATOMISP_MAP_FLAG_CLEARED

This flag is only used by one hmm_alloc() caller, drop it and make
the caller call hmm_set(ptr, 0, size) itself to do the clearing.

Link: https://lore.kernel.org/linux-media/20220615205037.16549-26-hdegoede@redhat.com
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/include/linux/atomisp.h
drivers/staging/media/atomisp/pci/hmm/hmm.c
drivers/staging/media/atomisp/pci/sh_css_params.c