[media] media: add messages when media device gets (un)registered
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 13 Aug 2015 18:22:24 +0000 (15:22 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:42 +0000 (12:18 -0200)
commit8f5a3188fbd13fdd5525fc6177cb19bf3996ee99
tree978a65a684973cb4acedcd47b30387dd9aef3932
parent6b6a42780597028135f82c96e42c6d2bcd83fbae
[media] media: add messages when media device gets (un)registered

We can only free the media device after being sure that no
graph object is used.

In order to help tracking it, let's add debug messages
that will print when the media controller gets registered
or unregistered.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/media-device.c