]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] coda: bitrate can only be set in kbps steps
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 18 Mar 2015 11:15:36 +0000 (08:15 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 10 Apr 2015 13:02:28 +0000 (10:02 -0300)
commit92b042ecedea7aa3d47391be57411709dab52cd7
tree22318839cc988d5075c3fc5bdb3fc0eb73f8a3e6
parentd5451c1d9257622105a1c5bee732c050b3e82cf0
[media] coda: bitrate can only be set in kbps steps

We divide the bitrate by 1000 before writing it to the register.
Communicate to userspace that the bitrate granularity is kbps.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-common.c