[PATCH 1/2] ARM: omap2+: omap_hwmod: Use _nested version of spinlock for oh->_lock

2015-02-06 Thread Peter Ujfalusi
Add lockdep_class member to struct omap_hwmod and use this number to specify the subclass of the given hwmod's lock. When defining the hwmods the lockdep_level can be initialized to indicate that this lock might be used in a nested fashion. DRA7x's ATL hwmod is one example for this since McASP can

[PATCH 1/2] ARM: omap2+: omap_hwmod: Use _nested version of spinlock for oh-_lock

2015-02-06 Thread Peter Ujfalusi
Add lockdep_class member to struct omap_hwmod and use this number to specify the subclass of the given hwmod's lock. When defining the hwmods the lockdep_level can be initialized to indicate that this lock might be used in a nested fashion. DRA7x's ATL hwmod is one example for this since McASP can