media: atomisp: add more comments about frame allocation
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 May 2020 12:21:26 +0000 (14:21 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 16:14:40 +0000 (18:14 +0200)
commit591e6a0aad547b37123274a290ab6e172bc8be9d
tree9e7cf95dda7fe6bc8e8d9d83847ea7b5d91295fb
parent27b778c5ef59d03d0dbce2bb26730df10e8abce7
media: atomisp: add more comments about frame allocation

The frame allocation logic happens differently for userptr
or normal mmap. On a quick look, this sounded to be unbalanced,
but the logic should actually work for both cases.

Add an extra comment to reflect it.

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