]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: No need to take tb->lock in domain suspend/complete
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 25 Jul 2018 08:03:18 +0000 (11:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jul 2018 08:15:24 +0000 (10:15 +0200)
commit11d3a42afffe4eb1264d52bc8ad2a9420921a2ad
tree4bfb7590a09e5bbe158c142f01090ec08d466429
parentd0d72feb21628b7aaa7200389d2396622e6ef2ec
thunderbolt: No need to take tb->lock in domain suspend/complete

If the connection manager implementation needs to touch the domain
structures it ought to take the lock itself. Currently only ICM
implements these hooks and it does not need the lock because we there
will be no notifications before driver ready message is sent to it.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/domain.c