Skip to content

Commit

Permalink
pinctrl: dove: unset twsi option3 for gconfig as well
Browse files Browse the repository at this point in the history
This fixes a typo which left twsi config3 option enabled.

Cc: [email protected]
Signed-off-by: Roel Kluin <[email protected]>
Acked-by: Sebastian Hesselbarth <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
  • Loading branch information
RoelKluin authored and linusw committed Oct 16, 2013
1 parent 5aad0db commit 6d0a4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/mvebu/pinctrl-dove.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ static int dove_twsi_ctrl_set(struct mvebu_mpp_ctrl *ctrl,
unsigned long gcfg2 = readl(DOVE_GLOBAL_CONFIG_2);

gcfg1 &= ~DOVE_TWSI_ENABLE_OPTION1;
gcfg2 &= ~(DOVE_TWSI_ENABLE_OPTION2 | DOVE_TWSI_ENABLE_OPTION2);
gcfg2 &= ~(DOVE_TWSI_ENABLE_OPTION2 | DOVE_TWSI_ENABLE_OPTION3);

switch (config) {
case 1:
Expand Down

0 comments on commit 6d0a4ed

Please sign in to comment.