Skip to content

Commit

Permalink
v4l: xilinx: dprx: Fix typo in macro
Browse files Browse the repository at this point in the history
This patch fixes typo in XDPRX_HPD_PLUSE_5000 and XDPRX_HPD_PLUSE_750
macros.

Signed-off-by: Rajesh Gugulothu <gugulothu.rajesh@xilinx.com>
Reviewed-by: Vishal Sagar <vishal.sagar@xilinx.com>
  • Loading branch information
Rajesh Gugulothu authored and Michal Simek committed Jan 12, 2022
1 parent 986aca5 commit f6d1241
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/media/platform/xilinx/xilinx-dprxss.c
Expand Up @@ -175,12 +175,12 @@
* IRQ_HPD pulse for upstream device is 5ms as per
* the VESA standard
*/
#define XDPRX_HPD_PLUSE_5000 5000
#define XDPRX_HPD_PULSE_5000 5000
/*
* low going IRQ_HPD generated for upstream device
* as per the VESA standard
*/
#define XDPRX_HPD_PLUSE_750 750
#define XDPRX_HPD_PULSE_750 750

/* GtCtrl Registers */
#define XDPRX_GTCTL_REG 0x4C
Expand Down Expand Up @@ -822,7 +822,7 @@ static void xdprxss_irq_unplug(struct xdprxss_state *state)
* can retrain the link.
*/
xdprxss_write(state, XDPRX_HPD_INTR_REG,
FIELD_PREP(XDPRX_HPD_PULSE_MASK, XDPRX_HPD_PLUSE_5000) |
FIELD_PREP(XDPRX_HPD_PULSE_MASK, XDPRX_HPD_PULSE_5000) |
XDPRX_HPD_INTR_MASK);
}

Expand Down Expand Up @@ -871,7 +871,7 @@ static void xdprxss_training_failure(struct xdprxss_state *state)
state->valid_stream = false;

xdprxss_write(state, XDPRX_HPD_INTR_REG,
FIELD_PREP(XDPRX_HPD_PULSE_MASK, XDPRX_HPD_PLUSE_750) |
FIELD_PREP(XDPRX_HPD_PULSE_MASK, XDPRX_HPD_PULSE_750) |
XDPRX_HPD_INTR_MASK);

/* reset the aux logic */
Expand Down

0 comments on commit f6d1241

Please sign in to comment.