[media] vivid: sdr cap: few enhancements
authorAntti Palosaari <crope@iki.fi>
Tue, 1 Sep 2015 23:04:51 +0000 (20:04 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 25 Sep 2015 20:22:00 +0000 (17:22 -0300)
commit60f68735441ce01858c81d32071f7df41c1691e3
treece957c0474f5ffd87d72e241be71b778155719aa
parentf335c3f229880cc3f7bde9310def6ac5c53c9c7c
[media] vivid: sdr cap: few enhancements

* Constify struct

* Fix comments

* Fix alignment

* Use modulus to transfer phase angles

* Correct float [-1.0, +1.0] to s8 [-128, 127] conversion

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-sdr-cap.c