RE: [PATCH 01/29] staging: comedi: adl_pci9118: DMA requires and interrupt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, September 09, 2014 3:08 AM,  Ian Abbott wrote:
> On 2014-09-09 00:18, H Hartley Sweeten wrote:
>> In order for DMA to work we also need an interrupt. Refactor the code
>> so that the DMA allocation is only done if the interrupt is available.
>>
>> Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
>> Cc: Ian Abbott <abbotti@xxxxxxxxx>
>> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>> ---
>>   drivers/staging/comedi/drivers/adl_pci9118.c | 19 ++++++++++---------
>>   1 file changed, 10 insertions(+), 9 deletions(-)
>>
>> diff --git a/drivers/staging/comedi/drivers/adl_pci9118.c b/drivers/staging/comedi/drivers/adl_pci9118.c
>> index 7a55c9c..f924ad9 100644
>> --- a/drivers/staging/comedi/drivers/adl_pci9118.c
>> +++ b/drivers/staging/comedi/drivers/adl_pci9118.c
>> @@ -1775,8 +1775,16 @@ static int pci9118_common_attach(struct comedi_device *dev, int disable_irq,
>>
>>   	pci9118_reset(dev);
>>
>> -	if (master)
>> -		pci9118_alloc_dma(dev);
>
> Are we missing a patch series?  I can't see when pci9118_alloc_dma() was 
> introduced in previous patch series.

Gah... I based the series off the wrong head.

Greg,

Please drop this series. I will repost in a bit with the correct series.

Sorry for the noise,
Hartley

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux