diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-08-12 15:55:36 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-23 20:28:44 (GMT) |
commit | 9076faa9af99e6eb69fb8939b97ab701d14b3145 (patch) | |
tree | 85b64d25354222e64b57c3ed2b383fc06ce396de /drivers/staging | |
parent | f7256877c777d08f3af445840d94e37b11038fe2 (diff) | |
download | linux-fsl-qoriq-9076faa9af99e6eb69fb8939b97ab701d14b3145.tar.xz |
staging:iio: in case of buggy drivers avoid using undefined mask.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/iio/industrialio-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c index 8bee562..e8ad648 100644 --- a/drivers/staging/iio/industrialio-core.c +++ b/drivers/staging/iio/industrialio-core.c @@ -958,6 +958,7 @@ static int iio_device_add_event_sysfs(struct iio_dev *dev_info, break; default: printk(KERN_INFO "currently unhandled type of event\n"); + continue; } ret = __iio_add_chan_devattr(postfix, NULL, |