[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1596224129-7699-1-git-send-email-Julia.Lawall@inria.fr>
Date: Fri, 31 Jul 2020 21:35:29 +0200
From: Julia Lawall <Julia.Lawall@...ia.fr>
To: Jaroslav Kysela <perex@...ex.cz>
Cc: kernel-janitors@...r.kernel.org, Takashi Iwai <tiwai@...e.com>,
Jonathan Corbet <corbet@....net>, alsa-devel@...a-project.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] ALSA: docs: fix typo
GFP_KRENEL -> GFP_KERNEL
Signed-off-by: Julia Lawall <Julia.Lawall@...ia.fr>
---
Documentation/sound/kernel-api/writing-an-alsa-driver.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/sound/kernel-api/writing-an-alsa-driver.rst b/Documentation/sound/kernel-api/writing-an-alsa-driver.rst
index fa49688..aa9d5ab 100644
--- a/Documentation/sound/kernel-api/writing-an-alsa-driver.rst
+++ b/Documentation/sound/kernel-api/writing-an-alsa-driver.rst
@@ -3579,7 +3579,7 @@ dependent on the bus. For normal devices, pass the device pointer
``SNDRV_DMA_TYPE_DEV`` type. For the continuous buffer unrelated to the
bus can be pre-allocated with ``SNDRV_DMA_TYPE_CONTINUOUS`` type.
You can pass NULL to the device pointer in that case, which is the
-default mode implying to allocate with ``GFP_KRENEL`` flag.
+default mode implying to allocate with ``GFP_KERNEL`` flag.
If you need a different GFP flag, you can pass it by encoding the flag
into the device pointer via a special macro
:c:func:`snd_dma_continuous_data()`.
Powered by blists - more mailing lists