asoc: codec: convert gpio to irq for max98088

Bug 1044921

Change-Id: Idd59f0e34241052f0cde2948ec529e7696af2337
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/131052
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Fix the way to get EQ channel names and some cleanup

Change-Id: Ib8d1d14d3c4855d82ccc5f29cf19fb4b569d3821
asoc: tegra: MAX98088 machine: fix coverity issue

Add negative check to prevent negative index in array.

Bug 1046331

Change-Id: I8a5497cbd2ec124f8199c80c526088a16508efee
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/134653
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
asoc:tegra: disable ext1 clock in suspend
Fix the way ext1 clock is disabled in suspend and enable in resume.

Change-Id: Ifd829853466afdd0bbd46088fb44657e5e12fba7
Signed-off-by: demetris <ierokipides.dem@gmail.com>
asoc: tegra: handle multiple registrations for switch device

Multiple machine drivers try to register the switch device,
this change ensures that switch device is registered only once

Bug 1002694

Change-Id: If23acb08aad36d5b4c466e7092e261b0bc18d02a
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/142681
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
 asoc:tegra: fix dam cif programming

as per dam spec file chout is fixed to 32bits
so accept chout and ch1 input as 32bit always.

Reviewed-on: http://git-master/r/170931
(cherry picked from commit dd07f40144f763be77ce4e2aea5e7d4d22e6a134)
And adjusted to p880 kernel by Demetris

Change-Id: Ie9e29a7f21a5c29a5c786f62a87dc59b85fce1ca
Signed-off-by: demetris <ierokipides.dem@gmail.com>