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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f7256877c7
commit
9076faa9af
@@ -958,6 +958,7 @@ static int iio_device_add_event_sysfs(struct iio_dev *dev_info,
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printk(KERN_INFO "currently unhandled type of event\n");
|
printk(KERN_INFO "currently unhandled type of event\n");
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
ret = __iio_add_chan_devattr(postfix,
|
ret = __iio_add_chan_devattr(postfix,
|
||||||
NULL,
|
NULL,
|
||||||
|
Reference in New Issue
Block a user