ASoC: mchp-i2s-mcc: make signed 1 bit bitfields unsigned
authorColin Ian King <colin.king@canonical.com>
Wed, 25 Mar 2020 13:29:13 +0000 (13:29 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 25 Mar 2020 21:51:28 +0000 (21:51 +0000)
The signed 1 bit bitfields should be unsigned, so make them unsigned.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20200325132913.110115-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/mchp-i2s-mcc.c

index befc2a3..3cb6388 100644 (file)
@@ -239,10 +239,10 @@ struct mchp_i2s_mcc_dev {
        unsigned int                            frame_length;
        int                                     tdm_slots;
        int                                     channels;
-       int                                     gclk_use:1;
-       int                                     gclk_running:1;
-       int                                     tx_rdy:1;
-       int                                     rx_rdy:1;
+       unsigned int                            gclk_use:1;
+       unsigned int                            gclk_running:1;
+       unsigned int                            tx_rdy:1;
+       unsigned int                            rx_rdy:1;
 };
 
 static irqreturn_t mchp_i2s_mcc_interrupt(int irq, void *dev_id)