Re: [PATCH V2] mmc: core: eMMC4.5 Add the timeout for switch

2011-09-01 Thread Jaehoon Chung
Hi Girish. I agreed for Mr.Jeon's opinion. I think that need not to check for any exception case. (Mr.Jeon mentioned the below comment, just using default cmd6_timeout) Thanks, Jaehoon Chung Girish K S wrote: > Hello Mr Jeon, > In case if the timeout is specified by the >

Re: [PATCH V2] mmc: core: eMMC4.5 Add the timeout for switch

2011-08-31 Thread Girish K S
Hello Mr Jeon, In case if the timeout is specified by the calling function, the code in this patch will not be executed. But if some command other than the three are called with 0, then this code will make sure that atleast the default value is used to timeout. regards Girish

RE: [PATCH V2] mmc: core: eMMC4.5 Add the timeout for switch

2011-08-31 Thread Seungwon Jeon
Hi Girish, Girish K S wrote: > > V2- The datatype of the cmd6_timeout is changed from u8 to unsigned int, > as it can hold a value upto 255*10=2550. > This patch adds the code to handle the default timeout > for switch command. > For eMMC 4.5 devices if timeout is not specified for the swit

[PATCH V2] mmc: core: eMMC4.5 Add the timeout for switch

2011-08-31 Thread Girish K S
V2- The datatype of the cmd6_timeout is changed from u8 to unsigned int, as it can hold a value upto 255*10=2550 and the data assignment in mmc_switch function. This patch adds the code to handle the default timeout for switch command. For eMMC 4.5 devices if timeout is not specified for th

[PATCH V2] mmc: core: eMMC4.5 Add the timeout for switch

2011-08-31 Thread Girish K S
V2- The datatype of the cmd6_timeout is changed from u8 to unsigned int, as it can hold a value upto 255*10=2550. This patch adds the code to handle the default timeout for switch command. For eMMC 4.5 devices if timeout is not specified for the switch command while accessing a specific fie