mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
3e1be09df1afdb675740edfee0877b1cc136fdc3
The function 'tegra_machine_ext_codec_init()' is used for initialising the RT565x codec. However, it is called even if the RT565x codec is not present which is not necessary. Therefore, only call this function when an RT565x is present and simplify the machine driver by moving the code to set the jack detect to this function. Finally, update the name of the function to be RT565x specific. This change is required for supporting boards such as Galen that can have multiple codecs and hence multiple jacks because it simplifies the code for configuring the jack. Bug 2187533 Change-Id: I43518f09a114678861ddface5a59861bb62dc2d9 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1748230 Reviewed-by: Mohan Kumar D <mkumard@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sameer Pujar <spujar@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Description
No description provided