audio hal: Reverse speaker LR channels at 180 rotation

RT5677 I2S2 ADC3 data swap control is used to swap LR
when the device is rotated 180 degrees. RT5677 I2S2 only
goes to MAX98357A so the swap does not affect headphones.

Verifed speaker and headphone playback with device
rotation at 0/90/180/270.

Bug: 31060805

Change-Id: I3ad3925a94e92fe1b8f086ad2ebbf767aa0d7401
Signed-off-by: Ben Zhang <benzh@google.com>
(cherry picked from commit a758f09e4cadc7f0c9597b07cab8dc617d458fcf)
2 files changed