Skip to content

Commit

Permalink
ASoC: rt5665: fix GPIO6 pin function define
Browse files Browse the repository at this point in the history
The GPIO6 pin function select value was wrong.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Bard Liao authored and Mark Brown committed Jul 20, 2017
1 parent 5771a8c commit b50e284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/rt5665.h
Original file line number Diff line number Diff line change
Expand Up @@ -1692,8 +1692,8 @@
#define RT5665_GP6_PIN_MASK (0x3 << 5)
#define RT5665_GP6_PIN_SFT 5
#define RT5665_GP6_PIN_GPIO6 (0x0 << 5)
#define RT5665_GP6_PIN_BCLK3 (0x0 << 5)
#define RT5665_GP6_PIN_PDM_SCL (0x1 << 5)
#define RT5665_GP6_PIN_BCLK3 (0x1 << 5)
#define RT5665_GP6_PIN_PDM_SCL (0x2 << 5)
#define RT5665_GP7_PIN_MASK (0x3 << 3)
#define RT5665_GP7_PIN_SFT 3
#define RT5665_GP7_PIN_GPIO7 (0x0 << 3)
Expand Down

0 comments on commit b50e284

Please sign in to comment.