On Fri, Sep 2, 2011 at 9:02 AM, Stijn Devriendt highguy@gmail.com wrote:
On Fri, Aug 19, 2011 at 11:53 AM, Linus Walleij linus.walleij@stericsson.com 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