Skip to content

Commit

Permalink
ASoC: max98095: Single bit bitfields should be unsigned
Browse files Browse the repository at this point in the history
There's no space for the sign bit.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed May 13, 2012
1 parent 665010c commit a91b778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sound/max98095.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a91b778

Please sign in to comment.