]> git.baikalelectronics.ru Git - kernel.git/commit
media: Documentation: mc: Add media_device_{init,cleanup}
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 9 Mar 2022 17:10:06 +0000 (18:10 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 17 May 2022 07:18:02 +0000 (09:18 +0200)
commit7acabe53b8d213c4a7597abaf547c0d15d661207
treef24fa160d3e5c826096a1359d31021aa7697c790
parent1d63a1197999a6e306ae994dab32b83dd5b8144a
media: Documentation: mc: Add media_device_{init,cleanup}

Document that drivers must first initialise a media device before
registering it, and clean up once the media device is unregistered.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Documentation/driver-api/media/mc-core.rst