aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts_pstor/xd.c
diff options
context:
space:
mode:
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)
426 rtsx_write_register(chip, CARD_STOP, SD_STOP | SD_CLR_ERR, SD_STOP | SD_CLR_ERR); 426 rtsx_write_register(chip, CARD_STOP, SD_STOP | SD_CLR_ERR, SD_STOP | SD_CLR_ERR);
427 } 427 }
428 428
429 rtsx_free_dma_buf(chip, buf); 429 kfree(buf);
430 430
431 if (chip->asic_code) { 431 if (chip->asic_code) {
432 rtsx_write_register(chip, CARD_PULL_CTL2, 0xFF, 0x55); 432 rtsx_write_register(chip, CARD_PULL_CTL2, 0xFF, 0x55);