summaryrefslogtreecommitdiffstats
path: root/sound/hda/hdac_sysfs.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-04-10 14:52:33 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-04-14 14:03:28 +0200
commit51c27da19d3dbf3219afb225e1626e193c5e1c72 (patch)
tree1029bdbda2edf550b6c6c448362ca849f1022d3f /sound/hda/hdac_sysfs.c
parentgpio: vx855: use the new open drain callback (diff)
downloadlinux-51c27da19d3dbf3219afb225e1626e193c5e1c72.tar.xz
linux-51c27da19d3dbf3219afb225e1626e193c5e1c72.zip
gpio: wm831x: use the new open drain callback
The WM831x GPIOs clearly have a dedicated open drain control register. Implement support for controlling this from GPIO descriptor tables or other hardware descriptions such as device tree by implementing the .set_single_ended() callback. Before this patch, lines requesting open drain will just be switched to input mode by the framework, thus emulating open drain. But the hardware can do the real thing, so let's support that. As part of this, rename the debugfs string for output mode from "CMOS" to "push-pull" because it is the term used in the framework to signify a tomem-pole CMOS output. Cc: patches@opensource.wolfsonmicro.com Cc: Mark Brown <broonie@kernel.org> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'sound/hda/hdac_sysfs.c')
0 files changed, 0 insertions, 0 deletions