index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
drivers
/
gpio
/
gpiolib-cdev.c
Age
Commit message (
Expand
)
Author
Files
Lines
9 days
gpiolib: cdev: fix uninitialised kfifo
Kent Gibson
1
-0
/
+14
10 days
gpiolib: cdev: Fix use after free in lineinfo_changed_notify
Zhongqiu Han
1
-1
/
+1
10 days
gpiolib: use a single SRCU struct for all GPIO descriptors
Bartosz Golaszewski
1
-1
/
+1
2024-04-04
gpio: cdev: fix missed label sanitizing in debounce_setup()
Kent Gibson
1
-21
/
+28
2024-04-04
gpio: cdev: check for NULL labels when sanitizing them for irqs
Bartosz Golaszewski
1
-5
/
+14
2024-03-26
gpio: cdev: sanitize the label before requesting the interrupt
Bartosz Golaszewski
1
-6
/
+32
2024-02-16
gpio: cdev: fix a NULL-pointer dereference with DEBUG enabled
Bartosz Golaszewski
1
-2
/
+2
2024-02-15
gpio: cdev: use correct pointer accessors with SRCU
Bartosz Golaszewski
1
-13
/
+12
2024-02-12
gpio: protect the pointer to gpio_chip in gpio_device with SRCU
Bartosz Golaszewski
1
-28
/
+36
2024-02-12
gpio: cdev: don't access gdev->chip if it's not needed
Bartosz Golaszewski
1
-1
/
+1
2024-02-12
gpio: cdev: replace gpiochip_get_desc() with gpio_device_get_desc()
Bartosz Golaszewski
1
-5
/
+5
2024-02-12
gpio: remove gpio_lock
Bartosz Golaszewski
1
-11
/
+9
2024-02-12
gpio: protect the descriptor label with SRCU
Bartosz Golaszewski
1
-3
/
+7
2024-02-12
gpio: provide and use gpiod_get_label()
Bartosz Golaszewski
1
-2
/
+2
2024-01-29
gpio: cdev: remove leftover function pointer typedefs
Bartosz Golaszewski
1
-5
/
+0
2023-12-27
gpiolib: cdev: replace locking wrappers for gpio_device with guards
Kent Gibson
1
-158
/
+47
2023-12-27
gpiolib: cdev: replace locking wrappers for config_mutex with guards
Kent Gibson
1
-39
/
+24
2023-12-27
gpiolib: cdev: allocate linereq using kvzalloc()
Kent Gibson
1
-2
/
+2
2023-12-27
gpiolib: cdev: include overflow.h
Kent Gibson
1
-0
/
+1
2023-12-27
Merge tag 'v6.7-rc7' into gpio/for-next
Bartosz Golaszewski
1
-4
/
+12
2023-12-21
gpiolib: cdev: add gpio_device locking wrapper around gpio_ioctl()
Kent Gibson
1
-4
/
+12
2023-12-19
gpiolib: cdev: reduce locking in gpio_desc_to_lineinfo()
Kent Gibson
1
-38
/
+36
2023-12-19
gpiolib: cdev: improve documentation of get/set values
Kent Gibson
1
-1
/
+23
2023-12-19
gpiolib: cdev: fully adopt guard() and scoped_guard()
Kent Gibson
1
-86
/
+57
2023-12-19
gpiolib: cdev: relocate debounce_period_us from struct gpio_desc
Kent Gibson
1
-23
/
+142
2023-11-04
treewide: rename pinctrl_gpio_can_use_line_new()
Bartosz Golaszewski
1
-1
/
+1
2023-11-04
gpio: cdev: use pinctrl_gpio_can_use_line_new()
Bartosz Golaszewski
1
-2
/
+1
2023-09-25
gpiolib: cdev: annotate struct linereq with __counted_by
Kees Cook
1
-2
/
+2
2023-08-22
gpiolib: provide and use gpiod_line_state_notify()
Bartosz Golaszewski
1
-12
/
+5
2023-08-21
gpio: cdev: wake up lineevent poll() on device unbind
Bartosz Golaszewski
1
-0
/
+22
2023-08-21
gpio: cdev: wake up linereq poll() on device unbind
Bartosz Golaszewski
1
-0
/
+23
2023-08-21
gpio: cdev: wake up chardev poll() on device unbind
Bartosz Golaszewski
1
-2
/
+27
2023-08-21
gpiolib: add a second blocking notifier to struct gpio_device
Bartosz Golaszewski
1
-0
/
+1
2023-08-21
gpio: cdev: open-code to_gpio_chardev_data()
Bartosz Golaszewski
1
-7
/
+2
2023-08-21
gpiolib: rename the gpio_device notifier
Bartosz Golaszewski
1
-8
/
+8
2023-01-30
gpiolib: Introduce gpio_device_get() and gpio_device_put()
Andy Shevchenko
1
-12
/
+9
2022-12-15
Merge tag 'gpio-updates-for-v6.2' of git://git.kernel.org/pub/scm/linux/kerne...
Linus Torvalds
1
-26
/
+180
2022-12-07
gpiolib: protect the GPIO device against being dropped while in use by user-s...
Bartosz Golaszewski
1
-25
/
+152
2022-12-07
gpiolib: cdev: fix NULL-pointer dereferences
Bartosz Golaszewski
1
-0
/
+27
2022-10-25
gpiolib: cdev: Fix typo in kernel doc for struct line
Andy Shevchenko
1
-1
/
+1
2022-10-24
gpiolib: cdev: Add missing header(s)
Andy Shevchenko
1
-1
/
+3
2022-10-08
Merge tag 'gpio-updates-for-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/k...
Linus Torvalds
1
-0
/
+18
2022-09-26
gpiolib: cdev: add fdinfo output for line request file descriptors
Bartosz Golaszewski
1
-0
/
+18
2022-09-21
gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
Meng Li
1
-2
/
+3
2022-08-04
Merge tag 'gpio-updates-for-v6.0-rc1' of git://git.kernel.org/pub/scm/linux/k...
Linus Torvalds
1
-140
/
+151
2022-07-19
gpiolib: cdev: compile out HTE unless CONFIG_HTE selected
Kent Gibson
1
-35
/
+63
2022-07-19
gpiolib: cdev: consolidate edge detector configuration flags
Kent Gibson
1
-66
/
+60
2022-07-19
gpiolib: cdev: simplify line event identification
Kent Gibson
1
-29
/
+15
2022-07-19
gpiolib: cdev: replace if-else chains with switches
Kent Gibson
1
-13
/
+18
2022-07-19
gpiolib: cdev: simplify parameter in call to hte_edge_setup
Kent Gibson
1
-3
/
+1
2022-07-19
gpiolib: cdev: simplify linereq_free
Kent Gibson
1
-4
/
+4
2022-07-18
Merge tag 'hte/for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/teg...
Linus Torvalds
1
-0
/
+4
2022-07-07
gpiolib: cdev: fix null pointer dereference in linereq_free()
Kent Gibson
1
-3
/
+4
2022-06-17
gpiolib: cdev: Fix kernel doc for struct line
Andy Shevchenko
1
-0
/
+4
2022-06-05
Merge tag 'hte/for-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds
1
-33
/
+219
2022-05-04
gpiolib: cdev: Add hardware timestamp clock type
Dipen Patel
1
-33
/
+219
2022-04-05
gpiolib: Get rid of redundant 'else'
Andy Shevchenko
1
-31
/
+35
2022-02-08
gpiolib: Never return internal error codes to user space
Andy Shevchenko
1
-3
/
+3
2021-06-22
gpiolib: cdev: zero padding during conversion to gpioline_info_changed
Gabriel Knezek
1
-0
/
+1
2021-01-27
gpiolib: cdev: clear debounce period if line set to output
Kent Gibson
1
-0
/
+2
2021-01-03
gpiolib: cdev: fix frame size warning in gpio_ioctl()
Kent Gibson
1
-72
/
+73
2020-12-09
Merge tag 'gpio-updates-for-v5.11' of git://git.kernel.org/pub/scm/linux/kern...
Linus Walleij
1
-11
/
+22
2020-12-09
gpiolib: cdev: Flag invalid GPIOs as used
Marc Zyngier
1
-0
/
+1
2020-12-05
gpiolib: cdev: allow edge event timestamps to be configured as REALTIME
Kent Gibson
1
-3
/
+18
2020-10-30
gpiolib: cdev: add GPIO_V2_LINE_FLAG_EDGE_BOTH and use it in edge_irq_thread()
Kent Gibson
1
-2
/
+3
2020-10-28
gpiolib: Switch to use compat_need_64bit_alignment_fixup() helper
Andy Shevchenko
1
-16
/
+8
2020-10-26
gpiolib: cdev: document that line eflags are shared
Kent Gibson
1
-11
/
+21
2020-10-13
Merge tag 'gpio-v5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...
Linus Torvalds
1
-53
/
+1261
2020-10-08
gpiolib: cdev: switch from kstrdup() to kstrndup()
Kent Gibson
1
-14
/
+13
2020-10-07
gpiolib: Disable compat ->read() code in UML case
Andy Shevchenko
1
-1
/
+1
2020-09-30
gpiolib: cdev: support setting debounce
Kent Gibson
1
-10
/
+237
2020-09-30
gpiolib: cdev: support GPIO_V2_LINE_SET_VALUES_IOCTL
Kent Gibson
1
-0
/
+61
2020-09-30
gpiolib: cdev: support GPIO_V2_LINE_SET_CONFIG_IOCTL
Kent Gibson
1
-0
/
+88
2020-09-30
gpiolib: cdev: support edge detection for uAPI v2
Kent Gibson
1
-0
/
+277
2020-09-30
gpiolib: cdev: support GPIO_V2_GET_LINEINFO_IOCTL and GPIO_V2_GET_LINEINFO_WA...
Kent Gibson
1
-28
/
+168
2020-09-30
gpiolib: cdev: support GPIO_V2_GET_LINE_IOCTL and GPIO_V2_LINE_GET_VALUES_IOCTL
Kent Gibson
1
-0
/
+424
2020-09-30
gpiolib: cdev: replace strncpy() with strscpy()
Kent Gibson
1
-16
/
+7
2020-09-30
gpiolib: cdev: gpio_desc_to_lineinfo() should set info offset
Kent Gibson
1
-1
/
+2
2020-09-17
gpiolib: Fix line event handling in syscall compatible mode
Andy Shevchenko
1
-4
/
+30
2020-07-12
gpiolib: cdev: refactor lineevent cleanup into lineevent_free
Kent Gibson
1
-23
/
+21
2020-07-12
gpiolib: cdev: refactor linehandle cleanup into linehandle_free
Kent Gibson
1
-20
/
+19
2020-07-12
gpiolib: cdev: remove recalculation of offset
Kent Gibson
1
-13
/
+7
2020-07-12
gpiolib: cdev: fix minor race in GET_LINEINFO_WATCH
Kent Gibson
1
-5
/
+5
2020-07-12
gpiolib: cdev: rename priv to cdev
Kent Gibson
1
-45
/
+45
2020-07-12
gpiolib: cdev: use blocking notifier call chain instead of atomic
Kent Gibson
1
-12
/
+12
2020-07-12
gpiolib: cdev: remove pointless decrement of i
Kent Gibson
1
-2
/
+0
2020-07-12
gpiolib: cdev: rename numdescs to num_descs
Kent Gibson
1
-10
/
+10
2020-07-12
gpiolib: cdev: rename 'filep' and 'filp' to 'file' to be consistent with othe...
Kent Gibson
1
-35
/
+35
2020-07-12
gpiolib: cdev: refactor gpiohandle_flags_to_desc_flags
Kent Gibson
1
-41
/
+19
2020-07-12
gpiolib: cdev: minor indentation fixes
Kent Gibson
1
-14
/
+14
2020-07-12
gpiolib: cdev: sort includes
Kent Gibson
1
-11
/
+11
2020-06-20
gpiolib: split character device into gpiolib-cdev
Kent Gibson
1
-0
/
+1154