[PATCH 1/4] cpufreq: Add a cpufreq driver for Marvell Dove

Viresh Kumar viresh.kumar at linaro.org
Wed Oct 23 11:00:02 EDT 2013


On 23 October 2013 20:06, Andrew Lunn <andrew at lunn.ch> wrote:
>> So, you have actually tested your code without interrupt handler?
>
> No.

It would be better if you atleast try this and confirm that this dummy
handler is required.

>> What exactly happens in that case?
>
> Take a look at request_threaded_irq(). It contains:
>
> 1421         if (!handler) {
> 1422                 if (!thread_fn)
> 1423                         return -EINVAL;
>
> So devm_request_irq() will fail, and so the probe function will fail.

Obviously I wanted you to remove all irq specific code and hence
devm_request_irq() :)



More information about the linux-arm-kernel mailing list