diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-12-13 14:54:53 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-12-13 14:54:53 +0100 |
commit | afdcd431cebe3498db9aa963c780fdd5099917ec (patch) | |
tree | 16d9155e136f0df56689eead95cf44935aab2a0c /drivers/spi/spi-rspi.c | |
parent | ALSA: hda - Add Dell headset detection quirk for three laptop models (diff) | |
parent | Merge remote-tracking branches 'asoc/fix/atmel', 'asoc/fix/fsl', 'asoc/fix/te... (diff) | |
download | linux-afdcd431cebe3498db9aa963c780fdd5099917ec.tar.xz linux-afdcd431cebe3498db9aa963c780fdd5099917ec.zip |
Merge tag 'asoc-v3.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v3.13
A few driver and error handling fixes plus a fix to ensure that we
mute streams when we should. The Atmel trigger addition is a fix to
ensure that we do the correct sequence of interactions with the
hardware.
Diffstat (limited to 'drivers/spi/spi-rspi.c')
-rw-r--r-- | drivers/spi/spi-rspi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi-rspi.c b/drivers/spi/spi-rspi.c index 58449ad4ad0d..9e829cee7357 100644 --- a/drivers/spi/spi-rspi.c +++ b/drivers/spi/spi-rspi.c @@ -885,14 +885,13 @@ static void rspi_release_dma(struct rspi_data *rspi) static int rspi_remove(struct platform_device *pdev) { - struct rspi_data *rspi = spi_master_get(platform_get_drvdata(pdev)); + struct rspi_data *rspi = platform_get_drvdata(pdev); spi_unregister_master(rspi->master); rspi_release_dma(rspi); free_irq(platform_get_irq(pdev, 0), rspi); clk_put(rspi->clk); iounmap(rspi->addr); - spi_master_put(rspi->master); return 0; } |