]> git.baikalelectronics.ru Git - kernel.git/commit
iio: ad9523: Fix displayed phase
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 25 Jun 2018 08:03:07 +0000 (11:03 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 24 Jul 2018 17:17:08 +0000 (18:17 +0100)
commit2fc143ba582d70fec58db2a0ae24806568db4e9e
tree73ecb76f0d1a678199baeb14a73f1a9d83f9786c
parent030acac4b6e9cbd19255008e4b7ef4e5b543208b
iio: ad9523: Fix displayed phase

Fix the displayed phase for the ad9523 driver. Currently the most
significant decimal place is dropped and all other digits are shifted one
to the left. This is due to a multiplication by 10, which is not necessary,
so remove it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Fixes: 2c1d77b995e ("iio: frequency: New driver for AD9523 SPI Low Jitter Clock Generator")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/frequency/ad9523.c