[media] atomisp: unify sh_css_hmm_buffer_record_acquire
authorAlan Cox <alan@llwyncelyn.cymru>
Fri, 26 May 2017 15:28:55 +0000 (12:28 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Jun 2017 15:43:24 +0000 (12:43 -0300)
commit0ef9e6e5559306079200742ee40f5754672dd498
tree71c5c9fe2924212d4fd26379074306e1edcfe04e
parent4a2fcc0c91b3d8b12322f7568eb62ce9f97e7bcf
[media] atomisp: unify sh_css_hmm_buffer_record_acquire

The ISP2401 version of this function returns a pointer to the buffer, whilst
the ISP2400 version returns a boolean if a slot is found. We can trivially
unify the code to use the ISP2401 version.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c