Skip to content

Commit

Permalink
lirc_rpi: Delete vestigial gpio_in_pull parameter
Browse files Browse the repository at this point in the history
BugLink: https://bugs.launchpad.net/bugs/1691407

The RPi GPIO no longer support run-time "pull" settings - one should
Device Tree and pinctrl instead - so remove the parameter to avoid
confusion.

See: raspberrypi/linux#1711

Signed-off-by: Phil Elwell <[email protected]>

(cherry picked from commit 7f7add4fb95315a58acae146a0eef2448f711390)
Signed-off-by: Paolo Pisati <[email protected]>
Acked-by: Colin King <[email protected]>
Acked-by: Stefan Bader <[email protected]>
Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
  • Loading branch information
Phil Elwell authored and ksacilotto committed Sep 20, 2017
1 parent 86537c4 commit 38434b3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/staging/media/lirc/lirc_rpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@

/* set the default GPIO input pin */
static int gpio_in_pin = 18;
/* set the default pull behaviour for input pin */
static int gpio_in_pull = BCM2708_PULL_DOWN;
/* set the default GPIO output pin */
static int gpio_out_pin = 17;
/* enable debugging messages */
Expand Down Expand Up @@ -716,10 +714,6 @@ module_param(gpio_in_pin, int, S_IRUGO);
MODULE_PARM_DESC(gpio_in_pin, "GPIO input pin number of the BCM processor."
" (default 18");

module_param(gpio_in_pull, int, S_IRUGO);
MODULE_PARM_DESC(gpio_in_pull, "GPIO input pin pull configuration."
" (0 = off, 1 = up, 2 = down, default down)");

module_param(sense, int, S_IRUGO);
MODULE_PARM_DESC(sense, "Override autodetection of IR receiver circuit"
" (0 = active high, 1 = active low )");
Expand Down

0 comments on commit 38434b3

Please sign in to comment.