Skip to content

Commit

Permalink
Modifed the settings that seem to hardcode the two-lane operation of …
Browse files Browse the repository at this point in the history
  • Loading branch information
wzab committed Feb 12, 2020
1 parent 712660f commit 39748a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/media/rkisp1/rkisp1-isp.c
Expand Up @@ -462,7 +462,7 @@ static int rkisp1_config_mipi(struct rkisp1_device *rkisp1)
rkisp1_write(rkisp1,
RKISP1_CIF_MIPI_FRAME_END | RKISP1_CIF_MIPI_ERR_CSI |
RKISP1_CIF_MIPI_ERR_DPHY |
RKISP1_CIF_MIPI_SYNC_FIFO_OVFLW(0x03) |
RKISP1_CIF_MIPI_SYNC_FIFO_OVFLW(0x01) |
RKISP1_CIF_MIPI_ADD_DATA_OVFLW,
RKISP1_CIF_MIPI_IMSC);

Expand Down
8 changes: 4 additions & 4 deletions drivers/staging/media/rkisp1/rkisp1-regs.h
Expand Up @@ -335,10 +335,10 @@
RKISP1_CIF_MIPI_ERR_ECC2 | \
RKISP1_CIF_MIPI_ERR_CS)

#define RKISP1_CIF_MIPI_ERR_DPHY (RKISP1_CIF_MIPI_ERR_SOT(3) | \
RKISP1_CIF_MIPI_ERR_SOT_SYNC(3) | \
RKISP1_CIF_MIPI_ERR_EOT_SYNC(3) | \
RKISP1_CIF_MIPI_ERR_CTRL(3))
#define RKISP1_CIF_MIPI_ERR_DPHY (RKISP1_CIF_MIPI_ERR_SOT(1) | \
RKISP1_CIF_MIPI_ERR_SOT_SYNC(1) | \
RKISP1_CIF_MIPI_ERR_EOT_SYNC(1) | \
RKISP1_CIF_MIPI_ERR_CTRL(1))

/* SUPER_IMPOSE */
#define RKISP1_CIF_SUPER_IMP_CTRL_NORMAL_MODE BIT(0)
Expand Down

0 comments on commit 39748a6

Please sign in to comment.