gpu: host1x: Call host1x_device_add() under lock
authorThierry Reding <treding@nvidia.com>
Thu, 18 Dec 2014 14:06:56 +0000 (15:06 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 23 Jan 2015 11:07:01 +0000 (12:07 +0100)
commit38d98de4332fcdaa72fc83443c1e3268e4b2214b
treebb473fa1e2005bdc790daee18ef9dad5053ea39c
parent536e1715226c94037df12f7c6280cbe0f6009f92
gpu: host1x: Call host1x_device_add() under lock

Instead of locking within host1x_device_add(), call it under the lock to
make the locking more consistent.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/bus.c