diff options
author | Geert Uytterhoeven <[email protected]> | 2021-09-02 14:49:12 +0200 |
---|---|---|
committer | Sumit Semwal <[email protected]> | 2021-09-07 12:42:21 +0530 |
commit | cca62758ebdd71fcfb6d589d6487a7f26398d50d (patch) | |
tree | 7445cef8edaa0745bc7af1dd6fdf6cf838c10c8a | |
parent | c4f3a3460a5daebc772d9263500e4099b11e7300 (diff) |
dma-buf: DMABUF_DEBUG should depend on DMA_SHARED_BUFFER
DMA-BUF debug checks are an option of DMA-BUF. Enabling DMABUF_DEBUG
without DMA_SHARED_BUFFER does not have any impact, as drivers/dma-buf/
is not entered during the build when DMA_SHARED_BUFFER is disabled.
Fixes: 84335675f2223cbd ("dma-buf: Add debug option")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Sumit Semwal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/dma-buf/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma-buf/Kconfig b/drivers/dma-buf/Kconfig index de5a17c40a33..d53782f4f51b 100644 --- a/drivers/dma-buf/Kconfig +++ b/drivers/dma-buf/Kconfig @@ -53,6 +53,7 @@ config DMABUF_MOVE_NOTIFY config DMABUF_DEBUG bool "DMA-BUF debug checks" + depends on DMA_SHARED_BUFFER default y if DMA_API_DEBUG help This option enables additional checks for DMA-BUF importers and |