]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf069bcbd4ad3b75a1bd2197b3f35df47d3f2376
tree9e7cf95dda7fe6bc8e8d9d83847ea7b5d91295fb
parent40da8e2d2225483a1ca76e61985fa96fbdc962b8
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