diff options
| author | Christoph Hellwig <[email protected]> | 2019-02-01 09:48:01 +0100 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2019-02-01 17:15:44 +0100 |
| commit | 6a8125c3cab887a236e9b1dc89a3416c50e46f56 (patch) | |
| tree | c4b5d7fdf78f40ecaf2316cf6e9d669a0362ad33 /lib/mpi/mpi-cmp.c | |
| parent | 9f7d35d9f7a184ffb591b090b2cbf63d2d599c02 (diff) | |
ALSA: mips: pass struct device to DMA API functions
The DMA API generally relies on a struct device to work properly, and
only barely works without one for legacy reasons. Pass the easily
available struct device from the platform_device to remedy this.
Also use GFP_KERNEL instead of GFP_USER as the gfp_t for the memory
allocation, as we should treat this allocation as a normal kernel one.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions