Re: [PATCH] dmaengine: dmatest: timeout value of -1 should specify infinite wait

2019-06-13 Thread Vinod Koul
On 04-06-19, 16:47, Gary R Hook wrote: > Well, I was uncomfortable with documentation that didn't match behavior. That is the right way :) > > I see two choices (and I just chose one to start a conversation): > > 1) Accept this patch, with an infinite timeout, or > 2) Leave the data type alone,

Re: [PATCH] dmaengine: dmatest: timeout value of -1 should specify infinite wait

2019-06-04 Thread Gary R Hook
On 6/4/19 7:23 AM, Vinod Koul wrote: > [CAUTION: External Email] > > On 31-05-19, 19:43, Hook, Gary wrote: >> The dmatest module parameter 'timeout' is documented as accepting a >> -1 to mean "infinite timeout". Change the parameter to to signed >> integer, and check the value to call the appropri

Re: [PATCH] dmaengine: dmatest: timeout value of -1 should specify infinite wait

2019-06-04 Thread Vinod Koul
On 31-05-19, 19:43, Hook, Gary wrote: > The dmatest module parameter 'timeout' is documented as accepting a > -1 to mean "infinite timeout". Change the parameter to to signed > integer, and check the value to call the appropriate wait_event() > function. > > Signed-off-by: Gary R Hook > --- > dr