Skip to content

Commit

Permalink
drm/tegra: hdmi: Name register fields consistently
Browse files Browse the repository at this point in the history
Name the fields of the SOR_SEQ_CTL register consistently.

Signed-off-by: Thierry Reding <[email protected]>
  • Loading branch information
thierryreding committed Apr 2, 2015
1 parent 375e118 commit 5c1c071
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/tegra/hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ static void tegra_hdmi_encoder_mode_set(struct drm_encoder *encoder,
}

tegra_hdmi_writel(hdmi,
SOR_SEQ_CTL_PU_PC(0) |
SOR_SEQ_PU_PC(0) |
SOR_SEQ_PU_PC_ALT(0) |
SOR_SEQ_PD_PC(8) |
SOR_SEQ_PD_PC_ALT(8),
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/tegra/hdmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
#define HDMI_NV_PDISP_SOR_CRCB 0x5d
#define HDMI_NV_PDISP_SOR_BLANK 0x5e
#define HDMI_NV_PDISP_SOR_SEQ_CTL 0x5f
#define SOR_SEQ_CTL_PU_PC(x) (((x) & 0xf) << 0)
#define SOR_SEQ_PU_PC(x) (((x) & 0xf) << 0)
#define SOR_SEQ_PU_PC_ALT(x) (((x) & 0xf) << 4)
#define SOR_SEQ_PD_PC(x) (((x) & 0xf) << 8)
#define SOR_SEQ_PD_PC_ALT(x) (((x) & 0xf) << 12)
Expand Down

0 comments on commit 5c1c071

Please sign in to comment.