Hi lee.jones:
I have just now resented the patch V4, please review it.
steven feng
Realsil Microelectronics CO. LTD.
Mobile:181-6899-0403 Ext:57594
On 2017年04月26日 10:47, 冯伟linux wrote:
> From: Steven Feng
>
> The request should be resent when DMA transfer error occurred.
>
l be merged?
steven feng
Realsil Microelectronics CO. LTD.
Mobile:181-6899-0403 Ext:57594
On 2017年04月11日 11:39, 冯伟linux wrote:
>> This errno need to be -EILSEQ.
>> You need to explain why.
>>
> When DMA transfer error with -EILSEQ, the request will retry some times,
> but
-
dma_error_count * 2000.
I have tested the code, the finally clock will be reduced step by step
with the increase of dma_error_count.
steven feng
Realsil Microelectronics CO. LTD.
Mobile:181-6899-0403 Ext:57594
On 2017年04月10日 23:00, Lee Jones wrote:
> On Mon, 10 Apr 2017, 冯伟linux wrote:
.
>
The times of DMA transfer error occurrs recorded in dma_error_count,
When DMA transfer error occurrs, the card_clock is reduced by 20MHz.
Others are updated in PATCH v4
steven feng
Realsil Microelectronics CO. LTD.
Mobile:181-6899-0403 Ext:57594
On 2017年04月07日 19:13, Lee Jones wrote:
HI lee.jones
I submitted my patch a few months ago, but the patch was not merged.
I want to know what causes this, so that I can update the patch and make
the patch merged.
steven feng
Realsil Microelectronics CO. LTD.
Mobile:181-6899-0403 Ext:57594
On 2017年01月05日 17:01, 冯伟linux wrote
so it was put
in here,
steven feng
Realsil Microelectronics CO. LTD.
Mobile:181-6899-0403 Ext:57594
在 2017年01月05日 22:50, Lee Jones 写道:
> On Thu, 05 Jan 2017, 冯伟linux wrote:
>
>>> + err = -EILSEQ;
>>> Why are you using this error code?
>>>
>> when k
> + err = -EILSEQ;
> Why are you using this error code?
>
when kernel receive the error number is EILSEQ, the SD card requeset
will be retried for some times, instead of dropping it directly.
so we use EILSEQ and frequency reduction to ensure data can be
transmitted correctly as much
> This seems strange. What is the reason for using this error?
>
>> +if (pcr->dma_error_count < 8)
> Why 8?
dma_error_count record the number of dma transfer error,
card clock decreased by 20MHz *dma_error_count, when setting card clock
again.
while dma_error_count == 8, the clock ha
8 matches
Mail list logo