Commit bb98c1ce authored by Jean-Paul Saman's avatar Jean-Paul Saman

DaVinci Resizer: force correct type when writting to hardware

parent 60b4dffb
......@@ -40,7 +40,7 @@
#define SDR_REQ_EXP (0x3508-0x0C00)
/* Register read/write */
#define regw(val,reg) outl(val,((reg)+ RESIZER_IOBASE_VADDR))
#define regr(reg) inl((reg)+RESIZER_IOBASE_VADDR)
#define regw(val,reg) outl((u32)(val),(u32)((reg)+ RESIZER_IOBASE_VADDR))
#define regr(reg) inl((u32)((reg)+RESIZER_IOBASE_VADDR))
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment