Re: [PATCH 2/3 v2] pinctrl-adi2: change irq_base from usigned int to int

2014-01-31 Thread Linus Walleij
On Tue, Jan 28, 2014 at 4:02 AM, Sonic Zhang wrote: > From: Sonic Zhang > > Negative irq_base means there is no fixed Linux irq mappings are created from > the platform data. > The driver calls irq_create_mapping to allocate a virtual Linux irq. Those IRQs are not any more "virtual" than any

Re: [PATCH 2/3 v2] pinctrl-adi2: change irq_base from usigned int to int

2014-01-31 Thread Linus Walleij
On Tue, Jan 28, 2014 at 4:02 AM, Sonic Zhang sonic@gmail.com wrote: From: Sonic Zhang sonic.zh...@analog.com Negative irq_base means there is no fixed Linux irq mappings are created from the platform data. The driver calls irq_create_mapping to allocate a virtual Linux irq. Those IRQs

[PATCH 2/3 v2] pinctrl-adi2: change irq_base from usigned int to int

2014-01-27 Thread Sonic Zhang
From: Sonic Zhang Negative irq_base means there is no fixed Linux irq mappings are created from the platform data. The driver calls irq_create_mapping to allocate a virtual Linux irq. Signed-off-by: Sonic Zhang --- v2-changes: - reword the patch description drivers/pinctrl/pinctrl-adi2.c |

[PATCH 2/3 v2] pinctrl-adi2: change irq_base from usigned int to int

2014-01-27 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com Negative irq_base means there is no fixed Linux irq mappings are created from the platform data. The driver calls irq_create_mapping to allocate a virtual Linux irq. Signed-off-by: Sonic Zhang sonic.zh...@analog.com --- v2-changes: - reword the patch