summaryrefslogtreecommitdiffstats
path: root/sound/oss/audio.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-11-14 00:09:07 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-11-15 10:30:08 +0100
commit3940c34ac898b15afb72271394444199401bbe99 (patch)
tree321a9d917d625d3e9ef310ee5ae92d95ab17c357 /sound/oss/audio.c
parentgpio: clamp values on gpio[d]_direction_output() (diff)
downloadlinux-3940c34ac898b15afb72271394444199401bbe99.tar.xz
linux-3940c34ac898b15afb72271394444199401bbe99.zip
gpio: tag line labels used for interrupts
When a GPIO line is marked as used for an interrupt, it is helpful to set the label to "interrupt" so we know what is going on when inspecting the lines. If a GPIO is already properly named by gpiod_get*() we don't need to do this. It only happens when a line is used from the irqchip side of a GPIO driver without communicating with the GPIO side, such as when gpiochip is used as interrupt provider in the device tree. If the line is still marked as used by "interrupt" when we unmark it as used by an interrupt, also remove this label from the descriptor. Also shape up the code around unmarking IRQ lines. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'sound/oss/audio.c')
0 files changed, 0 insertions, 0 deletions