On Fri, Sep 2, 2011 at 9:02 AM, Stijn Devriendt <[email protected]> wrote:
> On Fri, Aug 19, 2011 at 11:53 AM, Linus Walleij
> <[email protected]> wrote:

>> +       if (desc->mux_requested) {
>> +               pr_err("pin already requested\n");
>> +               goto out;
>> +       }
>
> Isn't locking missing here?

You're right, I have now introduced a spinlock to the pin descriptor
and take that before reading or writing descriptor fields like this.

Thanks!
Linus Walleij

_______________________________________________
linaro-dev mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to