summaryrefslogtreecommitdiff
path: root/drivers/block/smart1,2.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-05-31 09:27:00 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-05-31 09:27:00 -0700
commit5eca83174264a8eacf854685c59e08b7e1d628a3 (patch)
treeb4e3d46227c43729c8d7d13af491b850b03afa3d /drivers/block/smart1,2.h
parent852f42a69b93dc71507adedeed876d57b8c2c2fa (diff)
parent545ebd9a9be6bcbcf3e8dc24b874bfd634131946 (diff)
Merge tag 'gpio-v4.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio
Pull GPIO fixes from Linus Walleij: "A bunch of GPIO fixes for the v4.7 series: - Drop the lock before reading out the GPIO direction setting in drivers supporting the .get_direction() callback: some of them may be slowpath. - Flush GPIO direction setting before locking a GPIO as an IRQ: some electronics or other poking around in the registers behind our back may have happened, so flush the direction status before trying to lock the line for use by IRQs. - Bail out silently when asked to perform operations on NULL GPIO descriptors. That is what all the get_*_optional() is about: we get optional GPIO handles, if they are not there, we get NULL. - Handle compatible ioctl() correctly: we need to convert the ioctl() pointer using compat_ptr() here like everyone else. - Disable the broken .to_irq() on the LPC32xx platform. The whole irqchip infrastructure was replaced in the last merge window, and a new implementation will be needed" * tag 'gpio-v4.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: gpio: drop lock before reading GPIO direction gpio: bail out silently on NULL descriptors gpio: handle compatible ioctl() pointers gpio: flush direction status in gpiochip_lock_as_irq() gpio: lpc32xx: disable broken to_irq support
Diffstat (limited to 'drivers/block/smart1,2.h')
0 files changed, 0 insertions, 0 deletions