]> asedeno.scripts.mit.edu Git - linux.git/commit
atomisp: remove sh_css_malloc indirections where we can
authorAlan Cox <alan@linux.intel.com>
Wed, 12 Apr 2017 18:21:44 +0000 (19:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Apr 2017 08:07:27 +0000 (10:07 +0200)
commit94853b658afceb36a639edd5add6d17b62dc812b
tree3868d0c6a868cfb42978d404e592ad0eebdd5590
parentda22013f7df4e1f49b03d763aae7b12b1cd805d7
atomisp: remove sh_css_malloc indirections where we can

Where we know the buffer size is reasonably constrained we can just use kmalloc,
and where it will be large vmalloc. This still leaves a pile in the middle.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_firmware.c
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_host_data.c
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_param_shading.c