Skip to content

Commit 2ac82e2

Browse files
JuliaLawalltiwai
authored andcommitted
ALSA: docs: fix typo
GFP_KRENEL -> GFP_KERNEL Signed-off-by: Julia Lawall <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 7f3ecf4 commit 2ac82e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/sound/kernel-api/writing-an-alsa-driver.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3579,7 +3579,7 @@ dependent on the bus. For normal devices, pass the device pointer
35793579
``SNDRV_DMA_TYPE_DEV`` type. For the continuous buffer unrelated to the
35803580
bus can be pre-allocated with ``SNDRV_DMA_TYPE_CONTINUOUS`` type.
35813581
You can pass NULL to the device pointer in that case, which is the
3582-
default mode implying to allocate with ``GFP_KRENEL`` flag.
3582+
default mode implying to allocate with ``GFP_KERNEL`` flag.
35833583
If you need a different GFP flag, you can pass it by encoding the flag
35843584
into the device pointer via a special macro
35853585
:c:func:`snd_dma_continuous_data()`.

0 commit comments

Comments
 (0)