]> git.baikalelectronics.ru Git - kernel.git/commit
media: radio: Critical v4l2 registration bugfix for si470x over i2c
authorDouglas Fischer <fischerdouglasc@gmail.com>
Mon, 26 Feb 2018 23:22:02 +0000 (18:22 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 21 Mar 2018 15:59:28 +0000 (11:59 -0400)
commite10644f48640af17585a889e421927a95525943a
tree405fcc2f01f11a90a708ef5514cec41d9fab0e71
parent08a5e3cc2367b6ae78fae4e6d8587e953c8c03e0
media: radio: Critical v4l2 registration bugfix for si470x over i2c

Added the call to v4l2_device_register() required to add a new radio device.
Without this patch, it is impossible for the driver to load. This does not
affect USB devices.

Signed-off-by: Douglas Fischer <fischerdouglasc@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/radio/si470x/radio-si470x-i2c.c