diff options
Diffstat (limited to 'recipes-bsp/libimxdmabuffer/files/0001-g2d-Fix-typo.patch')
-rw-r--r-- | recipes-bsp/libimxdmabuffer/files/0001-g2d-Fix-typo.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-bsp/libimxdmabuffer/files/0001-g2d-Fix-typo.patch b/recipes-bsp/libimxdmabuffer/files/0001-g2d-Fix-typo.patch new file mode 100644 index 00000000..490d3a2f --- /dev/null +++ b/recipes-bsp/libimxdmabuffer/files/0001-g2d-Fix-typo.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 41825b11289be251fed64470893d18b89b0dd38b Mon Sep 17 00:00:00 2001 | ||
2 | From: Carlos Rafael Giani <crg7475@mailbox.org> | ||
3 | Date: Sun, 8 May 2022 16:25:44 +0200 | ||
4 | Subject: [PATCH] g2d: Fix typo | ||
5 | |||
6 | Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> | ||
7 | |||
8 | Upstream-Status: Backport [41825b11289be251fed64470893d18b89b0dd38b] | ||
9 | --- | ||
10 | imxdmabuffer/imxdmabuffer_g2d_allocator.c | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/imxdmabuffer/imxdmabuffer_g2d_allocator.c b/imxdmabuffer/imxdmabuffer_g2d_allocator.c | ||
14 | index f10a909..497dcea 100644 | ||
15 | --- a/imxdmabuffer/imxdmabuffer_g2d_allocator.c | ||
16 | +++ b/imxdmabuffer/imxdmabuffer_g2d_allocator.c | ||
17 | @@ -139,7 +139,7 @@ static uint8_t* imx_dma_buffer_g2d_allocator_map(ImxDmaBufferAllocator *allocato | ||
18 | * (Other allocators perform more steps than this.) */ | ||
19 | if (imx_g2d_buffer->mapping_refcount > 0) | ||
20 | { | ||
21 | - assert((imx_dwl_buffer->map_flags & flags & IMX_DMA_BUFFER_MAPPING_READWRITE_FLAG_MASK) == (flags & IMX_DMA_BUFFER_MAPPING_READWRITE_FLAG_MASK)); | ||
22 | + assert((imx_g2d_buffer->map_flags & flags & IMX_DMA_BUFFER_MAPPING_READWRITE_FLAG_MASK) == (flags & IMX_DMA_BUFFER_MAPPING_READWRITE_FLAG_MASK)); | ||
23 | imx_g2d_buffer->mapping_refcount++; | ||
24 | } | ||
25 | else | ||
26 | -- | ||
27 | 2.32.0 | ||
28 | |||