]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-mmc: Fix dma_alloc_coherent should get device as first param
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Wed, 4 Apr 2018 20:15:41 +0000 (22:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 13:34:03 +0000 (15:34 +0200)
commit102d69ea3f90797ef3ef60a0a22871dfa41b0dc9
treefe7ce0240010b3fd259b7f0902de0cc5df2fc344
parentab2a334333c859f270aa76fb5a09b1362e10c0d5
staging: mt7621-mmc: Fix dma_alloc_coherent should get device as first param

The dma_alloc_coherent (and also dma_free_coherent) should get the
device, the dma memory is allocated for as the first parameter.

Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/sd.c