An error occurred while fetching folder content.
iio: industrialio-buffer: Fix iio_buffer_poll return value
Cristina Opriceana authored
Change return value to 0 if no device is bound since
unsigned int cannot support negative error codes.

Fixes: f18e7a06

 ("iio: Return -ENODEV for file operations if the
device has been unregistered")
Signed-off-by: default avatarCristina Opriceana <cristina.opriceana@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
1bdc0293
Name Last commit Last update
..
accessibility printk: move braille console support into separate braille.[ch] files
acpi Merge tag 'acpica-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
amba ARM: 8334/1: amba: tegra-ahb: detect and correct bogus base address
android android: binder: fix binder mmap failures
ata Merge tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
atm atm: idt77105: Use setup_timer
auxdisplay framebuffer: Use fb_<level>
base Merge branch 'akpm' (patches from Andrew)
bcma bcma: lower dependency of BCMA_DRIVER_PCI_HOSTMODE
block Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
bluetooth Bluetooth: ath3k: Add support of 04ca:300d AR3012 device
bus Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
cdrom block,scsi: fixup blk_get_request dead queue scenarios
char Merge tag 'drm-intel-next-fixes-2015-07-02' of git://anongit.freedesktop.org/drm-intel
clk Merge tag 'module-builtin_driver-v4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux
clocksource Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
connector kconfig: use bool instead of boolean for type definition attributes
cpufreq Merge tag 'module-builtin_driver-v4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux
cpuidle Merge tag 'module-builtin_driver-v4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux
crypto crypto: marvell/cesa - another fix up for of_get_named_gen_pool() rename
dca dca: convert to idr_alloc()
devfreq PM / devfreq: tegra: Register governor on module init
dio m68k: don't export static inline functions
dma-buf dma-buf: Minor coding style fixes
dma Merge branch 'akpm' (patches from Andrew)
edac
eisa
extcon
firewire
firmware
fmc
gpio
gpu
hid
hsi
hv
hwmon
hwspinlock
hwtracing/coresight
i2c
ide
idle
iio
infiniband
input
iommu
ipack
irqchip
isdn
leds
lguest
macintosh
mailbox
mcb
md
media
memory
memstick
message
mfd
misc
mmc
mtd
net
nfc
ntb
nubus
nvdimm
of
oprofile
parisc
parport
pci
pcmcia
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi
sfi
sh
sn
soc
spi
spmi