Re: [PATCH] dmaengine: qcom_hidma: simplify DT resource parsing

2018-01-08 Thread Vinod Koul
On Thu, Jan 04, 2018 at 04:45:40PM -0600, Rob Herring wrote: > The hidma driver open codes populating address and IRQ resources from DT. > We have standard functions of_address_to_resource and of_irq_to_resource > for this, so use them instead. > > The DT binding states each child should have 2 ad

Re: [PATCH] dmaengine: qcom_hidma: simplify DT resource parsing

2018-01-04 Thread Sinan Kaya
On 1/4/2018 5:45 PM, Rob Herring wrote: > The hidma driver open codes populating address and IRQ resources from DT. > We have standard functions of_address_to_resource and of_irq_to_resource > for this, so use them instead. > > The DT binding states each child should have 2 addresses and 1 IRQ, so

[PATCH] dmaengine: qcom_hidma: simplify DT resource parsing

2018-01-04 Thread Rob Herring
The hidma driver open codes populating address and IRQ resources from DT. We have standard functions of_address_to_resource and of_irq_to_resource for this, so use them instead. The DT binding states each child should have 2 addresses and 1 IRQ, so we can simplify the logic and do a fixed size res