summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dummy/iio_simple_dummy_events.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-10-23 06:37:16 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2017-10-23 06:37:16 -0400
commitdd9d064e34a1b1c96d631cca73e2a6efc5834f4a (patch)
tree8e3aed218c842178688f31659a952d95145efb4b /drivers/iio/dummy/iio_simple_dummy_events.c
parent17e7637f5947284cd7f41c1b26ff8cbee9a794a4 (diff)
parentc97d96b4e612c7dc1b37d7afc61b598a9a25994d (diff)
downloadlinux-0-day-dd9d064e34a1b1c96d631cca73e2a6efc5834f4a.tar.gz
linux-0-day-dd9d064e34a1b1c96d631cca73e2a6efc5834f4a.tar.xz
Merge tag 'staging-4.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
Pull staging and IIO fixes from Greg KH: "Here are a small number of patches to resolve some reported IIO and a staging driver problem. Nothing major here, full details are in the shortlog below. All have been in linux-next with no reported issues" * tag 'staging-4.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: staging: bcm2835-audio: Fix memory corruption iio: adc: at91-sama5d2_adc: fix probe error on missing trigger property iio: adc: dln2-adc: fix build error iio: dummy: events: Add missing break staging: iio: ade7759: fix signed extension bug on shift of a u8 iio: pressure: zpa2326: Remove always-true check which confuses gcc iio: proximity: as3935: noise detection + threshold changes
Diffstat (limited to 'drivers/iio/dummy/iio_simple_dummy_events.c')
-rw-r--r--drivers/iio/dummy/iio_simple_dummy_events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/dummy/iio_simple_dummy_events.c b/drivers/iio/dummy/iio_simple_dummy_events.c
index ed63ffd849f82..7ec2a0bb08076 100644
--- a/drivers/iio/dummy/iio_simple_dummy_events.c
+++ b/drivers/iio/dummy/iio_simple_dummy_events.c
@@ -72,6 +72,7 @@ int iio_simple_dummy_write_event_config(struct iio_dev *indio_dev,
st->event_en = state;
else
return -EINVAL;
+ break;
default:
return -EINVAL;
}