Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66e48cd3 authored by Charlene Liu's avatar Charlene Liu Committed by Alex Deucher
Browse files

drm/amd/display: Clean up submit_channel_request

parent ea4a2020
Loading
Loading
Loading
Loading
+17 −17
Original line number Original line Diff line number Diff line
@@ -198,7 +198,7 @@ static void submit_channel_request(
		((request->type == AUX_TRANSACTION_TYPE_I2C) &&
		((request->type == AUX_TRANSACTION_TYPE_I2C) &&
		((request->action == I2CAUX_TRANSACTION_ACTION_I2C_WRITE) ||
		((request->action == I2CAUX_TRANSACTION_ACTION_I2C_WRITE) ||
		 (request->action == I2CAUX_TRANSACTION_ACTION_I2C_WRITE_MOT)));
		 (request->action == I2CAUX_TRANSACTION_ACTION_I2C_WRITE_MOT)));

	if (REG(AUXN_IMPCAL)) {
		/* clear_aux_error */
		/* clear_aux_error */
		REG_UPDATE_SEQ(AUXN_IMPCAL, AUXN_CALOUT_ERROR_AK,
		REG_UPDATE_SEQ(AUXN_IMPCAL, AUXN_CALOUT_ERROR_AK,
				1,
				1,
@@ -218,7 +218,7 @@ static void submit_channel_request(
		REG_UPDATE_SEQ(AUXP_IMPCAL, AUXP_IMPCAL_OVERRIDE_ENABLE,
		REG_UPDATE_SEQ(AUXP_IMPCAL, AUXP_IMPCAL_OVERRIDE_ENABLE,
				1,
				1,
				0);
				0);

	}
	/* set the delay and the number of bytes to write */
	/* set the delay and the number of bytes to write */


	/* The length include
	/* The length include