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

Commit 36f63ece authored by Venkataraman Nerellapalli's avatar Venkataraman Nerellapalli Committed by Gerrit - the friendly Code Review server
Browse files

drivers: media: rc: Disable auto repeat



Remove EV_REP in rc_register_device to make RC6
remote works.
EV_REP events are used for specifying autorepeating events.

Change-Id: I8dc52fba61e17314c3c1aaae314021f8bc9acb43
Signed-off-by: default avatarc_vnerel <venkataraman.nerellapalli@codeaurora.org>
parent 9955fceb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1347,7 +1347,6 @@ int rc_register_device(struct rc_dev *dev)
		return -EINVAL;

	set_bit(EV_KEY, dev->input_dev->evbit);
	set_bit(EV_REP, dev->input_dev->evbit);
	set_bit(EV_MSC, dev->input_dev->evbit);
	set_bit(MSC_SCAN, dev->input_dev->mscbit);
	if (dev->open)