diff options
author | Alban Bedel <alban.bedel@avionic-design.de> | 2016-12-14 18:20:39 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-01-16 13:11:45 +0100 |
commit | db5adf4d6dced4e3326ce369fe0c213c968095f4 (patch) | |
tree | 35ad0a5cbe0fab5cae9e283e92993bcce6d63c35 /net | |
parent | e3c702dcc7b047a5187a5ad132bfdf3850cc33e1 (diff) | |
download | linux-db5adf4d6dced4e3326ce369fe0c213c968095f4.tar.gz linux-db5adf4d6dced4e3326ce369fe0c213c968095f4.tar.bz2 linux-db5adf4d6dced4e3326ce369fe0c213c968095f4.zip |
drm/tegra: hdmi: Fix audio to work with any pixel clock rate
The audio setting implementation was limited to a few specific pixel
clocks. This prevented HDMI audio from working on several test devices
as they need a pixel clock that is not supported by this implementation.
Fix this by implementing the algorithm provided in the TRM using fixed
point arithmetic. This allows the driver to cope with any sane pixel
clock rate.
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
[treding@nvidia.com: fix uninitialized variable warning]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions