Skip to content

Commit

Permalink
ARM: pxa168/gplugd: free correct GPIO
Browse files Browse the repository at this point in the history
Signed-off-by: Tanmay Upadhyay <tanmay.upadhyay@einfochips.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
  • Loading branch information
Tanmay Upadhyay authored and Eric Miao committed Aug 11, 2011
1 parent 3647a40 commit 4c22ea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-mmp/gplugd.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,15 @@ static void __init select_disp_freq(void)
"frequency\n");
} else {
gpio_direction_output(35, 1);
gpio_free(104);
gpio_free(35);
}

if (unlikely(gpio_request(85, "DISP_FREQ_SEL_2"))) {
printk(KERN_ERR "Can't get hold of GPIO 85 to select display "
"frequency\n");
} else {
gpio_direction_output(85, 0);
gpio_free(104);
gpio_free(85);
}
}

Expand Down

0 comments on commit 4c22ea8

Please sign in to comment.