tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: IIC locking when shutting down



jdc%coris.org.uk@localhost (Julian Coleman) writes:

>It looks like every call to iic_acquire_bus() will need to handle the error
>return.  We seem to do this in a few drivers, but not all of them.  However,
>is there a simple solution that I'm missing?

Since iic_acquire_bus was changed to allow failures, every caller needs
to be fixed to check for an error. So far only drivers got fixed that
some people actually use.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index