Commit 0d93f395 authored by Rodrigo Siqueira's avatar Rodrigo Siqueira Committed by Alex Deucher

drm/amd/display: Correct enum typo

This commit just replaces dc_interrupt_po*r*larity with its correct
name, which is dc_interrupt_polarity.
Reviewed-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: default avatarRoman Li <roman.li@amd.com>
Signed-off-by: default avatarRodrigo Siqueira <rodrigo.siqueira@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fc0479ac
...@@ -178,7 +178,7 @@ enum dc_interrupt_context { ...@@ -178,7 +178,7 @@ enum dc_interrupt_context {
INTERRUPT_CONTEXT_NUMBER INTERRUPT_CONTEXT_NUMBER
}; };
enum dc_interrupt_porlarity { enum dc_interrupt_polarity {
INTERRUPT_POLARITY_DEFAULT = 0, INTERRUPT_POLARITY_DEFAULT = 0,
INTERRUPT_POLARITY_LOW = INTERRUPT_POLARITY_DEFAULT, INTERRUPT_POLARITY_LOW = INTERRUPT_POLARITY_DEFAULT,
INTERRUPT_POLARITY_HIGH, INTERRUPT_POLARITY_HIGH,
...@@ -199,12 +199,12 @@ struct dc_interrupt_params { ...@@ -199,12 +199,12 @@ struct dc_interrupt_params {
/* The polarity *change* which will trigger an interrupt. /* The polarity *change* which will trigger an interrupt.
* If 'requested_polarity == INTERRUPT_POLARITY_BOTH', then * If 'requested_polarity == INTERRUPT_POLARITY_BOTH', then
* 'current_polarity' must be initialised. */ * 'current_polarity' must be initialised. */
enum dc_interrupt_porlarity requested_polarity; enum dc_interrupt_polarity requested_polarity;
/* If 'requested_polarity == INTERRUPT_POLARITY_BOTH', /* If 'requested_polarity == INTERRUPT_POLARITY_BOTH',
* 'current_polarity' should contain the current state, which means * 'current_polarity' should contain the current state, which means
* the interrupt will be triggered when state changes from what is, * the interrupt will be triggered when state changes from what is,
* in 'current_polarity'. */ * in 'current_polarity'. */
enum dc_interrupt_porlarity current_polarity; enum dc_interrupt_polarity current_polarity;
enum dc_irq_source irq_source; enum dc_irq_source irq_source;
enum dc_interrupt_context int_context; enum dc_interrupt_context int_context;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment