Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp943914pxb; Fri, 21 Jan 2022 06:47:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxZT9kFBMPe2zbtSPs79ACPJQOpBH18UUXRKDsRuRt6AtkkJKWvJlCOSb3h+Pb0Zrn6OBu X-Received: by 2002:a17:902:6b89:b0:149:7aa8:d98c with SMTP id p9-20020a1709026b8900b001497aa8d98cmr4288489plk.72.1642776462246; Fri, 21 Jan 2022 06:47:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642776462; cv=none; d=google.com; s=arc-20160816; b=VnWFVJRc87HBKh+B1lJVUY9fP0bpayHvoSYT5scao7RYbLwR1Bp/4+aSLLIRsfmd9E zamx6zkfzo/cc6aL0q+kMRR0ODOmI2azG3yRTD8pzOr3wY4UJcnWKG6z6s4KbYlD6pJl Zq2VdtreIiuqjzpSqb3csYIzFstZ0DLAnhFFzZnYzIoVIpqZTzpTo0RT8uqQudL8pghm kYxUKGPaCqB4TX5pCLPwoNLuOV3hFvO7xpHClx+5UDnVkciZJNP09OpEi5fg7E8dN+7X j9HMZEKNS4PRDTNmNDopv/P9MWeKwnAmA7NC/1YQxL4KrOsk2lv3mtVwzpZZAvW4sVv1 Ia/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=MeiComjozb3H7WSxPqG06uMRQklbE67gyAu/I34ENgQ=; b=BUC8P++FEuhrNyJtvG5HAR1JIJdl4lCGumZyRLXyhkFWQsLpx98fGoKVU8YvHda5LM oiSHyEO7WD8k7TtOP3VGn0ANFvfIgYYbZ/hbMM3hRray9X5QdCYxEerypaZ5OhL6KLo4 jYAVKa3UAepOS+JSFqbqHUi5qgtUEMgAmWhOrrRQuLmSZ2qc8c497k4aE8o1EQL4nG4O 7mGU2XkXJY08qaiiU0ljtgg///UuMecRhG7HCrO4lb5Z9V0hDK60WhRx5ghbanZKMWDs 2RQpwFfJHxbvSmm7M/PAfM5NmJLKXeK6vKWlxxAt8L8coURENiECWqXNe8OQU2ZtjzDd t1sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jgNvzz76; 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 a1si5769911pjw.177.2022.01.21.06.47.30; Fri, 21 Jan 2022 06:47:42 -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=jgNvzz76; 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 S1351281AbiASDZz (ORCPT + 99 others); Tue, 18 Jan 2022 22:25:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236375AbiASDZx (ORCPT ); Tue, 18 Jan 2022 22:25:53 -0500 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F5ECC061574; Tue, 18 Jan 2022 19:25:53 -0800 (PST) Received: by mail-io1-xd31.google.com with SMTP id y22so1197263iof.7; Tue, 18 Jan 2022 19:25:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MeiComjozb3H7WSxPqG06uMRQklbE67gyAu/I34ENgQ=; b=jgNvzz76xJCkVXydAIVX7OWcya80MX4FkUlnfTt69NAHcd5sfhGJOmk+1IbuG4iqYh ciNg9xp3ceJ2p/CUqhnKqtlPjrOLjyaTB2a+v3KqeQzqpDigXDt/rIMDdcTOvEMhzEi0 SVGoCOnIsHUDoi2xqwQptsLhk8eHrLJxkdyJ+zNjZ/IiLt3DgBZggKESqkzrOVnI2E1i YmQRsxnS4EGJOtIhSF69c5qj0g4Tm0lR1dYfeTgmDyWJ2owfiulJAZ0FIXNTEcWwAcvc 5LJhqJ1UVtdKel5z3FHlBwNz5rEwTrmDw5I4DnncmnVI2aTpsTmz3iMGrBOy11KgeiVF Ucvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MeiComjozb3H7WSxPqG06uMRQklbE67gyAu/I34ENgQ=; b=L83cki/rk2Qf9SAue25vnw2VR7oD+/giOt6b1XzxPvkuJGSE2bS7DPnEyPK4uefb5W RejIwBrfWYwEJ/sShNzgvheAL/tRRJGYcKLP2jm9HoQlA97vSEJKeeRtet2OKv+l4nqP 2Ufjp/VqJiuCksJJIQWkNALeLLyAvALcVjJun0icqFfQ5p4znCAtgQCxdsKHKq/wJIS3 lDswb837x5U315K4aze2jIA0ghgVkiEWKNAfssZ8MFamrr26VX4M4G0/GfdIFwEmjYdp j6muLiuY2+Xf4YvriD+Hhu6pv1C0Yrfm8j33p8bImiE39dJyDtOnh6F68lidGBWc9xU1 ySeg== X-Gm-Message-State: AOAM532pzyqRoNAXGxAMnWkK305s37rEAQMk6IEKJFJDIDt3Pl/xca5e lQntNVlfimZkhJDVkMHWfqfcKShBTaTaNrJfzJWfomi4ptM= X-Received: by 2002:a02:2205:: with SMTP id o5mr5908069jao.241.1642562752380; Tue, 18 Jan 2022 19:25:52 -0800 (PST) MIME-Version: 1.0 References: <20220118165316.412735-1-eugene.shalygin@gmail.com> <20220118165316.412735-2-eugene.shalygin@gmail.com> In-Reply-To: <20220118165316.412735-2-eugene.shalygin@gmail.com> From: Eugene Shalygin Date: Wed, 19 Jan 2022 04:25:41 +0100 Message-ID: Subject: Re: [ASUS EC Sensors v7 1/3] hwmon: (asus-ec-sensors) add driver for ASUS EC To: Eugene Shalygin Cc: Andy Shevchenko , Denis Pauk , Jean Delvare , Guenter Roeck , Linux Kernel Mailing List , linux-hwmon@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I did not read carefully what I committed and now two small corrections are required (see inline). Should I resend again? On Tue, 18 Jan 2022 at 17:53, Eugene Shalygin wrote: > + DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE, "ROG STRIX X570-F GAMING", > + SENSOR_SET_TEMP_CHIPSET_CPU_MB | > + SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET Redundant line break. > + ), > + DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE, "ROG STRIX X570-I GAMING", > + SENSOR_TEMP_T_SENSOR | SENSOR_FAN_VRM_HS | > + SENSOR_FAN_CHIPSET | SENSOR_CURR_CPU), > +struct ec_sensors_data { > + unsigned long board_sensors; > + struct ec_sensor *sensors; > + /** EC registers to read from */ > + u16 *registers; > + u8 *read_buffer; > + /** sorted list of unique register banks */ > + u8 banks[ASUS_EC_MAX_BANK + 1]; > + /** in jiffies */ > + unsigned long last_updated; > + acpi_handle aml_mutex; > + /** number of board EC sensors */ > + u8 nr_sensors; > + /** number of EC registers to read (sensor might span more than 1 register) */ > + u8 nr_registers; > + /** number of unique register banks */ > + u8 nr_banks; > +}; Forgot to remove doc-comments. Thanks, Eugene