Re: [PATCH V2 8/9] pm80xx : panic on ncq error cleaning up the read log.

2017-09-13 Thread Jinpu Wang
On Wed, Feb 18, 2015 at 12:36 AM, Viswas G wrote: > when there's an error in 'ncq mode' the host has to read the ncq > error log (10h) to clear the error state. however, the ccb that > is setup for doing this doesn't setup the ccb so that the > previous state is cleared.

[PATCH V2 8/9] pm80xx : panic on ncq error cleaning up the read log.

2017-09-13 Thread Viswas G
when there's an error in 'ncq mode' the host has to read the ncq error log (10h) to clear the error state. however, the ccb that is setup for doing this doesn't setup the ccb so that the previous state is cleared. if the ccb was previously used for an IO n_elems is set and pm8001_ccb_task_free()