arm: tegra: roth: Reduce volume change clicks
authorScott Peterson <speterson@nvidia.com>
Fri, 4 Jan 2013 23:51:44 +0000 (15:51 -0800)
committerMandar Padmawar <mpadmawar@nvidia.com>
Wed, 9 Jan 2013 13:23:40 +0000 (05:23 -0800)
commitfe38018d13f9f20402ce2ab929b8fa08795b3a42
tree9d878d030ad48774bfa81c24f7027c1abe08f417
parent254ffc21535b7caafe1eba785015ef5fdbea5090
arm: tegra: roth: Reduce volume change clicks

Reduce the number of clicks in volume changes
by only writing TFA8997 device presets when a
new preset is detected.

Bug 1211519    Partial fix

Change-Id: Ia3f268cc3db57a4de6c4ba245a06c70aac094504
Reviewed-on: http://git-master/r/188829

(cherry picked from commit e11061bfd0e7c0bcf7d8b2ffd7709cfdbfcc01b5)

Signed-off-by: Scott Peterson <speterson@nvidia.com>
Change-Id: Ib332cd9a99562120dd1092045e883b2c9c97ba90
Reviewed-on: http://git-master/r/189663
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
drivers/misc/tfa9887.c
include/linux/tfa9887.h