mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
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>
This commit is contained in:
parent
665010c280
commit
a91b778219
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user