mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
media: i2c: rk628: fix compile warnings
Change-Id: I29d9b1b5a64352e84046c3f3fffc8f3ab217dd3f Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
This commit is contained in:
@@ -322,7 +322,7 @@ static int rk628_reg_show(struct seq_file *s, void *v)
|
||||
const struct regmap_config *reg;
|
||||
struct rk628 *rk628 = s->private;
|
||||
unsigned int i, j;
|
||||
u32 val;
|
||||
u32 val = 0;
|
||||
|
||||
seq_printf(s, "rk628_%s:\n", file_dentry(s->file)->d_iname);
|
||||
|
||||
|
||||
@@ -1293,7 +1293,7 @@ static int rockchip_calc_post_csc(struct post_csc_coef *csc_simple_coef,
|
||||
static void rk628_post_process_csc(struct rk628 *rk628)
|
||||
{
|
||||
enum bus_format in_fmt, out_fmt;
|
||||
struct post_csc_coef csc_coef;
|
||||
struct post_csc_coef csc_coef = {};
|
||||
bool is_input_yuv, is_output_yuv;
|
||||
u32 color_space = V4L2_COLORSPACE_BT709F;
|
||||
u32 csc_mode;
|
||||
|
||||
Reference in New Issue
Block a user