mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 08:34:20 +08:00
bec2ddfd39
When compiled on 32-bit ARM, the CAL driver fails with the FIELD_PREP()
macro complaining that the mask is not constant. While all callers of
the inline cal_write_field() function pass a constant mask, the mask
parameter itself is a variable, which likely doesn't please the
compiler.
Fix it by replacing FIELD_PREP() with a manual implementation.
Fixes:
|
||
---|---|---|
.. | ||
cal_regs.h | ||
cal-camerarx.c | ||
cal-video.c | ||
cal.c | ||
cal.h | ||
csc.c | ||
csc.h | ||
Makefile | ||
sc_coeff.h | ||
sc.c | ||
sc.h | ||
vpdma_priv.h | ||
vpdma.c | ||
vpdma.h | ||
vpe_regs.h | ||
vpe.c |