~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to drivers/staging/rts_pstor/xd.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
380
380
 
381
381
                RTSX_DEBUGP("xD ECC error, dummy write!\n");
382
382
 
383
 
                buf = (u8 *)rtsx_alloc_dma_buf(chip, 512, GFP_KERNEL);
 
383
                buf = kmalloc(512, GFP_KERNEL);
384
384
                if (!buf)
385
385
                        return;
386
386
 
427
427
                        rtsx_write_register(chip, CARD_STOP, SD_STOP | SD_CLR_ERR, SD_STOP | SD_CLR_ERR);
428
428
                }
429
429
 
430
 
                rtsx_free_dma_buf(chip, buf);
 
430
                kfree(buf);
431
431
 
432
432
                if (chip->asic_code) {
433
433
                        rtsx_write_register(chip, CARD_PULL_CTL2, 0xFF, 0x55);