mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue