Commit a91b778219e687b0a71a2388b6468ad54751bce0

Authored by Mark Brown
1 parent 665010c280

ASoC: max98095: Single bit bitfields should be unsigned

There's no space for the sign bit.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

include/sound/max98095.h
... ... @@ -55,7 +55,7 @@
55 55 * 0 = PIN5 not supported
56 56 * 1 = PIN5 supported
57 57 */
58   - int jack_detect_pin5en:1;
  58 + unsigned int jack_detect_pin5en:1;
59 59  
60 60 /* Slew amount for jack detection. Calculated as 4 * (delay + 1).
61 61 * Default delay is 24 to get a time of 100ms.