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

Commit 71867976 authored by Dan Carpenter's avatar Dan Carpenter Committed by Mauro Carvalho Chehab
Browse files

[media] lg2160: dubious one-bit signed bitfield



Sparse complains that these are "dubious one-bit signed bitfields" and
the comment says it was intended to be 1 and 0 instead of -1 and 0.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 6695be68
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -57,10 +57,10 @@ struct lg2160_config {
	u16 if_khz;

	/* disable i2c repeater - 0:repeater enabled 1:repeater disabled */
	int deny_i2c_rptr:1;
	unsigned int deny_i2c_rptr:1;

	/* spectral inversion - 0:disabled 1:enabled */
	int spectral_inversion:1;
	unsigned int spectral_inversion:1;

	unsigned int output_if;
	enum lg2160_spi_clock spi_clock;