mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
90ef4d49b0609a408b1f997454865107f0c5ecc4
The 'normal' polarity of the fsync is dependent on the audio format. For example, for I2S the 'normal' polarity for the fsync is falling-edge/low, where as for r/l-justified or dsp modes A/B it is rising-edge/high. This is detailed in the Tegra210 TRM in the table titled "Programming I2S to Operate in Various Modes" and also in the Linux kernel header file for include/sound/soc-dai.h. The Tegra210 i2s driver always assumes that the fsync is low for 'normal' polarity and high for 'inverted' polarity and does not account for the audio format. Correct the Tegra210 I2S driver to set the polarity according the the audio format. Bug 1788838 Bug 1993738 Change-Id: I5c7395f225ff8c25e2bb277c35e3ecb7a86f36cb Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1567742 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Mohan Kumar D <mkumard@nvidia.com> Reviewed-by: Sameer Pujar <spujar@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> GVS: Gerrit_Virtual_Submit
Description
No description provided