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

Commit e76088ab authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "radio: RTC6226: fill device capabilities in video_device"

parents 64bf5d34 af10871f
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 */