summaryrefslogtreecommitdiff
path: root/drivers/staging/rts_pstor/xd.c
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2011-03-26 17:18:11 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-20 20:45:57 (GMT)
commitf7468e2995dbd914817c780941750f0ac668ac50 (patch)
tree241a9e54539b88d6875dee1450a5e5c68c01fc11 /drivers/staging/rts_pstor/xd.c
parent24c92eac7e5976b07f663e1149d73075aff96c0d (diff)
downloadlinux-fsl-qoriq-f7468e2995dbd914817c780941750f0ac668ac50.tar.xz
Staging: rts_pstor: s/rtsx_free_dma_buf/kfree/
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rts_pstor/xd.c')
-rw-r--r--drivers/staging/rts_pstor/xd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts_pstor/xd.c b/drivers/staging/rts_pstor/xd.c
index 7bcd468..b9eb072 100644
--- a/drivers/staging/rts_pstor/xd.c
+++ b/drivers/staging/rts_pstor/xd.c
@@ -426,7 +426,7 @@ static void xd_clear_dma_buffer(struct rtsx_chip *chip)
rtsx_write_register(chip, CARD_STOP, SD_STOP | SD_CLR_ERR, SD_STOP | SD_CLR_ERR);
}
- rtsx_free_dma_buf(chip, buf);
+ kfree(buf);
if (chip->asic_code) {
rtsx_write_register(chip, CARD_PULL_CTL2, 0xFF, 0x55);