Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD4FFC433F5 for ; Thu, 25 Nov 2021 20:08:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356810AbhKYULj (ORCPT ); Thu, 25 Nov 2021 15:11:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234768AbhKYUJh (ORCPT ); Thu, 25 Nov 2021 15:09:37 -0500 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BED78C06175B; Thu, 25 Nov 2021 12:05:24 -0800 (PST) Received: by mail-io1-xd33.google.com with SMTP id p23so8858313iod.7; Thu, 25 Nov 2021 12:05:24 -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=tk+wDJ0OIJSyvhiVPqoj4E54xUK6n2Q3zpVGN+CGegs=; b=BKd/b6HTWV41bKS7ciC/+NwIZ1/4K4nhUOFF05GvfEleMDUKUp0HJvC0fsXMj4eY4z kdB0L6rLa2EMarlJcU9K8hC9ODloAx/r+6mN/f0//qS4fUKED23rj6PwTT7rm8vpIR29 x0RYemJOjXgGOU5s29uSzQKPa0WIJ/6dVU+tPeqf2rj4NtgnChdJXjOJSIlp6bhxE/tu 1UQZyHlixcwrhuOGfCby12FU1ycsHodJr38CGbN9MXeXDU57WrJMQj6Ya0Nv6g6p78lL qNP9kb9uvjl+hkVK4AxXg7jUeD7EpEUV4v0NvceQu2voTy46on4YfpSS1BAaDdGZ/1ia 9+Pw== 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=tk+wDJ0OIJSyvhiVPqoj4E54xUK6n2Q3zpVGN+CGegs=; b=bYawYtidrj08zJu0QM0tj/72eC+D1rIcpM+ckphM4w+oBhVQMtxObVD/orPBxvOxLc Bn2H+CBy4TE1OkQThJaOoUEdVp96D4AiUxH3g8Wr/SosoIFnI77Id6hahSHGrezxgGYi Sb6Qd1sAz7RdC5MxkNWym719sWX2tw5IaTvkbhzoLZrd74x8blkTRXAMExxZT2vtDp13 cWd2yYQnXdcCuJsCs4ifEvCeqF5mBDuuQYstMrS+2VdOPOciF5RaGuTMerjPGMoEwE17 8vgiQFlmb0mu4k2k58O1trQWqouk5mksQttKe6wOxGpJxj4SmFWGmMs6HxMK+zdNqGDE eUKQ== X-Gm-Message-State: AOAM532dbur06bPT+Z0Lvbmx8k5b1/g2et/eDtHZmexqjCVli8xXG8+P tSTHrDhcRjzAPHnnae3aPnaKTtx0zkzR4/z7zq8= X-Google-Smtp-Source: ABdhPJyyvN2jld5oPPLGEqT0uIXzet5/CMmfRu2rP0BA1sAFw4EAgn07nDoNish5O5T941XUkXMy3i7nlN3bWbJwu+Y= X-Received: by 2002:a05:6638:3014:: with SMTP id r20mr10004991jak.146.1637870724006; Thu, 25 Nov 2021 12:05:24 -0800 (PST) MIME-Version: 1.0 References: <20211122212850.321542-1-pauk.denis@gmail.com> <20211122212850.321542-3-pauk.denis@gmail.com> In-Reply-To: From: Eugene Shalygin Date: Thu, 25 Nov 2021 21:05:12 +0100 Message-ID: Subject: Re: [PATCH 2/3] hwmon: (nct6775) Implement custom lock by ACPI mutex. To: Guenter Roeck Cc: Andy Shevchenko , Denis Pauk , Platform Driver , thomas@weissschuh.net, Jean Delvare , linux-hwmon@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Nov 2021 at 20:54, Guenter Roeck wrote: > We won't be heving two drivers with the same functionality. Give me one > reason why I should not drop the wmi driver (or both of them; I am not > sure which one we are talking about here). > > On top of all that, this submission isn't about any of the wmi drivers, > but for the nct6775 driver, which just adds to the confusion. Let me try to explain once again, please. I began to dig into the ASUS sensors and how to read their values and at first found the WMI function to do that, wrote a driver and Denis submitted it as asus_wmi_ec_sensors. Now, I know a better and simpler way to read those sensors, which uses ACPI mutex directly. I suggested Denis to use the mutex way for the nct6775 driver for motherboards without WMI functions to read from the nct chip. With that change entering the nct driver, I want to submit my updated driver for EC sensors, replacing the asus_wmi_ec_sensors code (which is essentially my old driver). So, now I ask to rename asus_wmi_sensors to asus_ec_sensors (source file and KBuild options) already before 5.16 is released, because the updated code, which I will submit later, and which will replace that in asus_wmi_ec_sensors.c, does not use WMI. Hope this clarifies my request and intention. Best regards, Eugene