aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/rts_pstor/xd.c
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2011-03-26 20:18:11 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-20 13:45:57 -0700
commitf7468e2995dbd914817c780941750f0ac668ac50 (patch)
tree241a9e54539b88d6875dee1450a5e5c68c01fc11 /drivers/staging/rts_pstor/xd.c
parent24c92eac7e5976b07f663e1149d73075aff96c0d (diff)
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 7bcd468b8f2..b9eb072d74e 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);