Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2744157pxb; Mon, 31 Jan 2022 03:26:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0dryBZFIa/rwpn/QJOCCo5ws9vYKp5oIPhJHRi2PG4Ib2hDiw+t8CR/3EpmT3Al8dkflX X-Received: by 2002:a05:6a00:b51:: with SMTP id p17mr19839627pfo.45.1643628374389; Mon, 31 Jan 2022 03:26:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643628374; cv=none; d=google.com; s=arc-20160816; b=y9WAtG6naYl88c1iufxC0Oe3crv7XBy+BEFMioyoBAH60hGEQgioXNMRZ71117mU5H 9gVRS8zN9FsJt4mAgAlbJURIHy134az79TROVkqJlw+ItBIuniE/kqnqu/h4H4BfQdIb EVH4F1EG4gfQwXpr6Jmzb+vP+AsomWumTEv9cMKjSDxFKjnrg0xTlVzcy1swokGccBmf aOYhIgbjQRnK+cmRmmiM1A4RN6mlnW0fCpiPqsQD7Vajgx1+C13OMc05FftatnAlvLzv DX5dRhFRHUKqgD6H+lWSWYRAJDbX5WV0ba66ndTSA+Nsf0zZR1l5SNllQUXsMnpX49NT TyBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TsIDTtHB4kRX1wNfgR6Ml8ylhDMIOCnu62XlBka8/6g=; b=Oj9kpN9b/w+KJRThxKT9YYNFI+7z1KXPWenSQnquQJ+CpNgo9FUlzpu5XaF77Kvldj E8I6+/GRvyBJ7hCO83AwHIPVi6rdeEfYRF+hk0CgqLfZU8T2KIOoZmUnAaBGgopDGT3l 7mW03eE2DCuhThL0RGpjZqIkasvRJLiAmZC5Z0U3FZbJG7BEwR7TfcmnJ+/EMTAkuV7o BcUcDfz9Gj2W1fTeLkizDBSCXaosoiMMdoFMtJ5Rf0YCdzhH37kiOSOsGFN1P230oqdo n5CoUoiX/j7o10c/u+WN+lCuU30xjc8zw766dq24AWIhD+SBCLsAS/sLA3oiR+jj29mQ daCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TzXySIrL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j193si12995230pge.367.2022.01.31.03.26.03; Mon, 31 Jan 2022 03:26:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TzXySIrL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343495AbiA1RfI (ORCPT + 99 others); Fri, 28 Jan 2022 12:35:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234826AbiA1RfG (ORCPT ); Fri, 28 Jan 2022 12:35:06 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D451BC061714; Fri, 28 Jan 2022 09:35:05 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id s9so12226292wrb.6; Fri, 28 Jan 2022 09:35:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TsIDTtHB4kRX1wNfgR6Ml8ylhDMIOCnu62XlBka8/6g=; b=TzXySIrLQJNqrp2gr8PFN82rs+nQaCsKZ+kBNBN1o/3UBgttOQ6AOUGGTnvrBy0ymC KMIylawFWQ3LmfwXaAH7aER4p7rXKKPFVevKkK1UGgosSYbhtXUZLs5NJBnPp1qx4MVf t1tfEfbHl/zujHaYJqCTkBBma2fgsmWyguw/zu/DECtDuCj6OYpP98EAzM9oUCVdrq6G Tl9HGH7zrIyYsSxVO/GL3I7YoyLQ6z8sIJdptDxWfAwWPcZ9X1um/RCWRU/1t8kQI0qC 6wHrIB9NcxxK5xBrKRgaC8iNDxZb4py+Yka65szsM6m7JYMa+mv4G0eo0xU1eryn5/rn vqKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TsIDTtHB4kRX1wNfgR6Ml8ylhDMIOCnu62XlBka8/6g=; b=gXDakye8J9AevQe0TTYzMxu7VpfDIBXqbFA4emIPROIOUMjzch2kzXvM9Ykm5PkEqk FN6bKcmfYeo1dwT2w85cV+6opbEDxTAjjudLWNOD4eaOfnMTesOpuLveS6Q3tbKKgXvr xcpOB9q8bBxmj7/O9uXBJWqZKE7TkChLj8lcTc4XnzvPrEQ0tgs+rWt1dBwul2o0d+Qz sMdmPS/fehQzhvi9lwgpC22zsfgtaO+OuHDjBgy39aCONOls7vZW/5LJtZ9jNf1+0U3B PGmy/MI+2OYhPnryYj6VyBaOQ5o7RbtR+SjsnvJYo/jfrDrIL3Q0RCcEMvkDD1u/h6jp P76w== X-Gm-Message-State: AOAM5326Se18ee64p2O1R0kNSnt+ViiifzRNUkW4whh4PUFuiymcotpk ptqui/0RI9y9O/DKNX3TR8Ai7kqbiQPdVw== X-Received: by 2002:a05:6000:1c01:: with SMTP id ba1mr8063219wrb.28.1643391304188; Fri, 28 Jan 2022 09:35:04 -0800 (PST) Received: from localhost (cpc154979-craw9-2-0-cust193.16-3.cable.virginm.net. [80.193.200.194]) by smtp.gmail.com with ESMTPSA id z1sm2359404wmk.32.2022.01.28.09.35.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jan 2022 09:35:03 -0800 (PST) From: Colin Ian King To: Harry Wentland , Leo Li , Rodrigo Siqueira , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , Xinhui.Pan@amd.com, David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH][next] drm/amd/display: fix spelling mistake: synatpics -> synaptics Date: Fri, 28 Jan 2022 17:35:02 +0000 Message-Id: <20220128173502.594099-1-colin.i.king@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are quite a few spelling mistakes in various function names and error messages. Fix these. Signed-off-by: Colin Ian King --- .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c index 75b5299b3576..db4ab01267e4 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c @@ -539,7 +539,7 @@ bool dm_helpers_submit_i2c( } #if defined(CONFIG_DRM_AMD_DC_DCN) -static bool execute_synatpics_rc_command(struct drm_dp_aux *aux, +static bool execute_synaptics_rc_command(struct drm_dp_aux *aux, bool is_write_cmd, unsigned char cmd, unsigned int length, @@ -578,7 +578,7 @@ static bool execute_synatpics_rc_command(struct drm_dp_aux *aux, ret = drm_dp_dpcd_write(aux, SYNAPTICS_RC_COMMAND, &rc_cmd, sizeof(rc_cmd)); if (ret < 0) { - DRM_ERROR(" execute_synatpics_rc_command - write cmd ..., err = %d\n", ret); + DRM_ERROR(" execute_synaptics_rc_command - write cmd ..., err = %d\n", ret); return false; } @@ -600,7 +600,7 @@ static bool execute_synatpics_rc_command(struct drm_dp_aux *aux, drm_dp_dpcd_read(aux, SYNAPTICS_RC_DATA, data, length); } - DC_LOG_DC(" execute_synatpics_rc_command - success = %d\n", success); + DC_LOG_DC(" execute_synaptics_rc_command - success = %d\n", success); return success; } @@ -618,54 +618,54 @@ static void apply_synaptics_fifo_reset_wa(struct drm_dp_aux *aux) data[3] = 'U'; data[4] = 'S'; - if (!execute_synatpics_rc_command(aux, true, 0x01, 5, 0, data)) + if (!execute_synaptics_rc_command(aux, true, 0x01, 5, 0, data)) return; // Step 3 and 4 - if (!execute_synatpics_rc_command(aux, false, 0x31, 4, 0x220998, data)) + if (!execute_synaptics_rc_command(aux, false, 0x31, 4, 0x220998, data)) return; data[0] &= (~(1 << 1)); // set bit 1 to 0 - if (!execute_synatpics_rc_command(aux, true, 0x21, 4, 0x220998, data)) + if (!execute_synaptics_rc_command(aux, true, 0x21, 4, 0x220998, data)) return; - if (!execute_synatpics_rc_command(aux, false, 0x31, 4, 0x220D98, data)) + if (!execute_synaptics_rc_command(aux, false, 0x31, 4, 0x220D98, data)) return; data[0] &= (~(1 << 1)); // set bit 1 to 0 - if (!execute_synatpics_rc_command(aux, true, 0x21, 4, 0x220D98, data)) + if (!execute_synaptics_rc_command(aux, true, 0x21, 4, 0x220D98, data)) return; - if (!execute_synatpics_rc_command(aux, false, 0x31, 4, 0x221198, data)) + if (!execute_synaptics_rc_command(aux, false, 0x31, 4, 0x221198, data)) return; data[0] &= (~(1 << 1)); // set bit 1 to 0 - if (!execute_synatpics_rc_command(aux, true, 0x21, 4, 0x221198, data)) + if (!execute_synaptics_rc_command(aux, true, 0x21, 4, 0x221198, data)) return; // Step 3 and 5 - if (!execute_synatpics_rc_command(aux, false, 0x31, 4, 0x220998, data)) + if (!execute_synaptics_rc_command(aux, false, 0x31, 4, 0x220998, data)) return; data[0] |= (1 << 1); // set bit 1 to 1 - if (!execute_synatpics_rc_command(aux, true, 0x21, 4, 0x220998, data)) + if (!execute_synaptics_rc_command(aux, true, 0x21, 4, 0x220998, data)) return; - if (!execute_synatpics_rc_command(aux, false, 0x31, 4, 0x220D98, data)) + if (!execute_synaptics_rc_command(aux, false, 0x31, 4, 0x220D98, data)) return; data[0] |= (1 << 1); // set bit 1 to 1 return; - if (!execute_synatpics_rc_command(aux, false, 0x31, 4, 0x221198, data)) + if (!execute_synaptics_rc_command(aux, false, 0x31, 4, 0x221198, data)) return; data[0] |= (1 << 1); // set bit 1 to 1 - if (!execute_synatpics_rc_command(aux, true, 0x21, 4, 0x221198, data)) + if (!execute_synaptics_rc_command(aux, true, 0x21, 4, 0x221198, data)) return; // Step 6 - if (!execute_synatpics_rc_command(aux, true, 0x02, 0, 0, NULL)) + if (!execute_synaptics_rc_command(aux, true, 0x02, 0, 0, NULL)) return; DC_LOG_DC("Done apply_synaptics_fifo_reset_wa\n"); -- 2.34.1