Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af10871f authored by himta ram's avatar himta ram
Browse files

radio: RTC6226: fill device capabilities in video_device



The device_caps field must be set for all but subdevs.
Fill rtc6226 device capabilities in video_device.

CRs-Fixed: 2622236
Change-Id: I3645e22dcc2f8d740385f3d661af2603fc594c2f
Signed-off-by: default avatarhimta ram <hram@codeaurora.org>
parent 0a928fdb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -814,6 +814,9 @@ static int rtc6226_i2c_probe(struct i2c_client *client,

	radio->videodev.v4l2_dev = v4l2_dev;
	radio->videodev.ioctl_ops = &rtc6226_ioctl_ops;
	radio->videodev.device_caps = V4L2_CAP_HW_FREQ_SEEK | V4L2_CAP_READWRITE
		| V4L2_CAP_TUNER | V4L2_CAP_RADIO | V4L2_CAP_RDS_CAPTURE |
		V4L2_CAP_DEVICE_CAPS;
	video_set_drvdata(&radio->videodev, radio);

	/* rds buffer allocation */