Commit 2ac82e20 authored by Julia Lawall's avatar Julia Lawall Committed by Takashi Iwai
parent 7f3ecf47
...@@ -3579,7 +3579,7 @@ dependent on the bus. For normal devices, pass the device pointer ...@@ -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 ``SNDRV_DMA_TYPE_DEV`` type. For the continuous buffer unrelated to the
bus can be pre-allocated with ``SNDRV_DMA_TYPE_CONTINUOUS`` type. 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 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 If you need a different GFP flag, you can pass it by encoding the flag
into the device pointer via a special macro into the device pointer via a special macro
:c:func:`snd_dma_continuous_data()`. :c:func:`snd_dma_continuous_data()`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment