alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: max98095: Single bit bitfields should be unsigned
@ 2012-05-13 22:31 Mark Brown
  0 siblings, 0 replies; only message in thread
From: Mark Brown @ 2012-05-13 22:31 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, Mark Brown

There's no space for the sign bit.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 include/sound/max98095.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/sound/max98095.h b/include/sound/max98095.h
index 65b1c90..e87ae67 100644
--- a/include/sound/max98095.h
+++ b/include/sound/max98095.h
@@ -55,7 +55,7 @@ struct max98095_pdata {
 	 * 0 = PIN5 not supported
 	 * 1 = PIN5 supported
 	 */
-	int jack_detect_pin5en:1;
+	unsigned int jack_detect_pin5en:1;
 
 	/* Slew amount for jack detection. Calculated as 4 * (delay + 1).
 	 * Default delay is 24 to get a time of 100ms.
-- 
1.7.10

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-13 22:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-13 22:31 [PATCH] ASoC: max98095: Single bit bitfields should be unsigned Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).