]> git.baikalelectronics.ru Git - kernel.git/commit
[media] redrat3: limit periods to hardware limits
authorSean Young <sean@mess.org>
Sat, 16 Feb 2013 20:25:43 +0000 (17:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 19 Mar 2013 18:14:00 +0000 (15:14 -0300)
commitfabe179ef2c2d965efa4a2e90c2cb7714d06fcf1
tree31c5debaeceb7a0a7c1ac027ab96a710708dc3a0
parent481a3b2f8f650433a779802c4f0fa549deb3db23
[media] redrat3: limit periods to hardware limits

The redrat hardware cannot handle periods of larger than 32767us,
limit appropriately. Also fix memory leak in redrat3_get_timeout.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/redrat3.c