]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amd/display: Correct enum typo
authorRodrigo Siqueira <rodrigo.siqueira@amd.com>
Thu, 5 Oct 2023 16:58:51 +0000 (10:58 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Oct 2023 22:59:56 +0000 (18:59 -0400)
This commit just replaces dc_interrupt_po*r*larity with its correct
name, which is dc_interrupt_polarity.

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/irq_types.h

index 530c2578db406d68e7db326c6dc053b21ba49eb0..93354bff456acd84062bc578f029265185336036 100644 (file)
@@ -178,7 +178,7 @@ enum dc_interrupt_context {
        INTERRUPT_CONTEXT_NUMBER
 };
 
-enum dc_interrupt_porlarity {
+enum dc_interrupt_polarity {
        INTERRUPT_POLARITY_DEFAULT = 0,
        INTERRUPT_POLARITY_LOW = INTERRUPT_POLARITY_DEFAULT,
        INTERRUPT_POLARITY_HIGH,
@@ -199,12 +199,12 @@ struct dc_interrupt_params {
        /* The polarity *change* which will trigger an interrupt.
         * If 'requested_polarity == INTERRUPT_POLARITY_BOTH', then
         * 'current_polarity' must be initialised. */
-       enum dc_interrupt_porlarity requested_polarity;
+       enum dc_interrupt_polarity requested_polarity;
        /* If 'requested_polarity == INTERRUPT_POLARITY_BOTH',
         * 'current_polarity' should contain the current state, which means
         * the interrupt will be triggered when state changes from what is,
         * in 'current_polarity'. */
-       enum dc_interrupt_porlarity current_polarity;
+       enum dc_interrupt_polarity current_polarity;
        enum dc_irq_source irq_source;
        enum dc_interrupt_context int_context;
 };