mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 04:42:12 +00:00
[media] atmel-isi: Fix a truncate warning
drivers/media/platform/soc_camera/atmel-isi.c: In function 'start_streaming': drivers/media/platform/soc_camera/atmel-isi.c:397:26: warning: large integer implicitly truncated to unsigned type [-Woverflow] isi_writel(isi, ISI_INTDIS, ~0UL); ^ Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
8f05232f59
commit
9842a417d4
@ -394,7 +394,7 @@ static int start_streaming(struct vb2_queue *vq, unsigned int count)
|
||||
return ret;
|
||||
}
|
||||
/* Disable all interrupts */
|
||||
isi_writel(isi, ISI_INTDIS, ~0UL);
|
||||
isi_writel(isi, ISI_INTDIS, (u32)~0UL);
|
||||
|
||||
spin_lock_irq(&isi->lock);
|
||||
/* Clear any pending interrupt */
|
||||
|
Loading…
Reference in New Issue
Block a user