From: Mark Brown Date: Sun, 13 May 2012 22:29:35 +0000 (+0100) Subject: ASoC: max98095: Single bit bitfields should be unsigned X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a91b778219e687b0a71a2388b6468ad54751bce0;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ASoC: max98095: Single bit bitfields should be unsigned There's no space for the sign bit. Signed-off-by: Mark Brown --- diff --git a/include/sound/max98095.h b/include/sound/max98095.h index 65b1c90f78a..e87ae67b0a5 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.