media: v4l2: async: remove locking when initializing async notifier
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Fri, 30 Nov 2018 02:11:07 +0000 (21:11 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 5 Dec 2018 11:51:28 +0000 (06:51 -0500)
commitda2c94c8f9739e4099ea3cfefc208fc721b22a9c
tree24662b89f2348873f08379ee199d979144eff0d4
parent1da3afb58cd15764da92da68e2d999abc303f6fd
media: v4l2: async: remove locking when initializing async notifier

There is no need to hold the list_lock when initializing the local
asd_list of a notifier. Remove the lock handling to simplify the code
and remove a potential LOCKDEP warning.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reported-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-async.c