~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/staging/rts_pstor/sd.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-3o58a3c1bj7x00rs
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:
2227
2227
        retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd,
2228
2228
                5, 512, 1, bus_width, NULL, 0, 100);
2229
2229
        if (retval != STATUS_SUCCESS) {
 
2230
                rtsx_clear_sd_error(chip);
2230
2231
                TRACE_RET(chip, STATUS_FAIL);
2231
2232
        }
2232
2233
 
2327
2328
 
2328
2329
                        retval = sd_send_cmd_get_rsp(chip, IO_SEND_OP_COND, 0, SD_RSP_TYPE_R4, rsp, 5);
2329
2330
                        if (retval == STATUS_SUCCESS) {
2330
 
                                int func_num = (rsp[1] >> 4) && 0x07;
 
2331
                                int func_num = (rsp[1] >> 4) & 0x07;
2331
2332
                                if (func_num) {
2332
2333
                                        RTSX_DEBUGP("SD_IO card (Function number: %d)!\n", func_num);
2333
2334
                                        chip->sd_io = 1;