Re: mmc_blk_ioctl_cmd: cmd error -110, when I try set writeprotect to user data area

2012-03-27 Thread Jongman Heo
> --- Original Message --- > Sender : Jongman Heo S5/Senior Engineer/STB S/W R&D > Lab./Samsung Electronics > Date : 2012-03-20 11:07 (GMT+09:00) > Title : mmc_blk_ioctl_cmd: cmd error -110, when I try set writeprotect to > user data area > > > Hi, all, &

mmc_blk_ioctl_cmd: cmd error -110, when I try set writeprotect to user data area

2012-03-19 Thread Jongman Heo
Hi, all, I'm seeing weird issue with MMC ioctl. I've modified mmc-util package a bit, to set write-protection to user data area, using following argument. idata.write_flag = 1; idata.opcode = 28; // MMC_SET_WRITE_PROT idata.arg = ... // 512B sector address ... idata.flags