lkml.org 
[lkml]   [2015]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] mtd: pxa3xx-nand: handle PIO in threaded interrupt
Date
Ezequiel Garcia <ezequiel.garcia@free-electrons.com> writes:

>> +static irqreturn_t pxa3xx_nand_irq_thread(int irq, void *data)
>> +{
>> + struct pxa3xx_nand_info *info = data;
>> +
>> + handle_data_pio(info);
>> +
>> + info->state = STATE_CMD_DONE;
>
> Are you sure you need to set the state here?
Euh no, I'm not. I made it to be symmetric with dma_complete_func(). If it's not
needed, why is it needed in dma_complete_func() ?

Cheers.

--
Robert


\
 
 \ /
  Last update: 2015-02-18 17:21    [W:0.070 / U:23.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site