ipa: raspberrypi: Tidy up variable names to be consistent
Change variable names to camel case to be consistent with the rest of the source files. Remove #define consts and replace with constexpr. Add some newlines to make the code more readable. There are no functional changes in this commit. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> [Kieran: Rebase merge conflicts resolved] [Kieran: Fix checkstyle line under 80 chars] Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
0e2c714024
commit
4c2bfc317a
@@ -1138,7 +1138,7 @@ int RPiCameraData::configureIPA(const CameraConfiguration *config)
|
||||
|
||||
/* Allocate the lens shading table via dmaHeap and pass to the IPA. */
|
||||
if (!lsTable_.isValid()) {
|
||||
lsTable_ = dmaHeap_.alloc("ls_grid", MAX_LS_GRID_SIZE);
|
||||
lsTable_ = dmaHeap_.alloc("ls_grid", RPi::MaxLsGridSize);
|
||||
if (!lsTable_.isValid())
|
||||
return -ENOMEM;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user