Re: [PATCH 2/2] dma: of: Remove check on always true condition

2013-04-22 Thread Jon Hunter
On 04/22/2013 04:00 PM, Lars-Peter Clausen wrote: > On 04/22/2013 10:52 PM, Jon Hunter wrote: >> >> On 04/22/2013 03:33 AM, Lars-Peter Clausen wrote: >>> Both of_dma_nbcells field of the of_dma_controller and the args_count field >>> of >>> the dma_spec are initialized by parsing the #dma-cells a

Re: [PATCH 2/2] dma: of: Remove check on always true condition

2013-04-22 Thread Lars-Peter Clausen
On 04/22/2013 10:52 PM, Jon Hunter wrote: > > On 04/22/2013 03:33 AM, Lars-Peter Clausen wrote: >> Both of_dma_nbcells field of the of_dma_controller and the args_count field >> of >> the dma_spec are initialized by parsing the #dma-cells attribute of their >> device >> tree node. So if the devi

Re: [PATCH 2/2] dma: of: Remove check on always true condition

2013-04-22 Thread Jon Hunter
On 04/22/2013 03:33 AM, Lars-Peter Clausen wrote: > Both of_dma_nbcells field of the of_dma_controller and the args_count field of > the dma_spec are initialized by parsing the #dma-cells attribute of their > device > tree node. So if the device tree nodes of a DMA controller and the dma_spec > m

Re: [PATCH 2/2] dma: of: Remove check on always true condition

2013-04-22 Thread Arnd Bergmann
On Monday 22 April 2013, Lars-Peter Clausen wrote: > Both of_dma_nbcells field of the of_dma_controller and the args_count field of > the dma_spec are initialized by parsing the #dma-cells attribute of their > device > tree node. So if the device tree nodes of a DMA controller and the dma_spec > m

[PATCH 2/2] dma: of: Remove check on always true condition

2013-04-22 Thread Lars-Peter Clausen
Both of_dma_nbcells field of the of_dma_controller and the args_count field of the dma_spec are initialized by parsing the #dma-cells attribute of their device tree node. So if the device tree nodes of a DMA controller and the dma_spec match this means that of_dma_nbcells and args_count will also m