ASoC: sgtl5000: Use shift mask when setting codec mode
authorFilip Brozovic <fbrozovic@gmail.com>
Fri, 30 Jan 2015 11:58:24 +0000 (12:58 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 30 Jan 2015 13:18:21 +0000 (14:18 +0100)
Shift the I2S mode value by the necessary amount before writing the
registers. This makes Right Justified and PCM mode work in addition to
the default Left Justified mode.

Signed-off-by: Filip Brozovic <fbrozovic@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found