Commit 9076faa9 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Greg Kroah-Hartman
Browse files

staging:iio: in case of buggy drivers avoid using undefined mask.

parent f7256877
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,