Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d180371d authored by Hartmut Knaack's avatar Hartmut Knaack Committed by Jonathan Cameron
Browse files

staging:iio:ad799x fix typo in ad799x_events[]



This patch fixes a typo in ad799x_events[], which caused the error "Failed to register event set".

Signed-off-by: default avatarHartmut Knaack <knaack.h@gmx.de>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 5af473c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -393,7 +393,7 @@ static const struct iio_event_spec ad799x_events[] = {
	}, {
	}, {
		.type = IIO_EV_TYPE_THRESH,
		.type = IIO_EV_TYPE_THRESH,
		.dir = IIO_EV_DIR_FALLING,
		.dir = IIO_EV_DIR_FALLING,
		.mask_separate = BIT(IIO_EV_INFO_VALUE),
		.mask_separate = BIT(IIO_EV_INFO_VALUE) |
			BIT(IIO_EV_INFO_ENABLE),
			BIT(IIO_EV_INFO_ENABLE),
	}, {
	}, {
		.type = IIO_EV_TYPE_THRESH,
		.type = IIO_EV_TYPE_THRESH,