Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp520483pxx; Thu, 29 Oct 2020 08:05:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIJdKji13AT9dCmHL2PdKl2G5ZhWux4K4WCCmf6Zdj5jTtzQgXeCEEdO5ij6Xjfki0HaMI X-Received: by 2002:a05:6402:1d82:: with SMTP id dk2mr4289879edb.299.1603983932276; Thu, 29 Oct 2020 08:05:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603983932; cv=none; d=google.com; s=arc-20160816; b=I/FO+sNFgRQP0GQWoPM+Sj1vAQY88Z66eF+3wB/yyi13/2sjWXjHk2mgEEyWJNC/A4 95W+b2odL5AWyZo+y15tddM15LwOkF05kFbRdNVa1Xjo0ivKZU/lMxjxpfNjtAl1yWsc X6o1i8/fbZ5MZ7oi9v6rFn+CUtwmeIir9hyLhWm2Akg1isLDIWMFNwUNjcN1Zd5XI7EL 4NT3Serfkm5Q0tTqKluVlL+xeRbGYnUsbB6aruznLhzJphENExRSUhc3znj3XilvJM6p or4QOUcW6tgHpes0rgxTtgHSDsci4rCNCszl4JqVzMDiBb73TY+7QhcC8ZYNTNzuXT9m vLwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=5kjiLp+7lRMDBLgo4dfNo+1hwVdgayYNFyRK8vWKzk8=; b=ugjbk/gIcyyyLnYcG1TTuO7nxRdns/k3jDahRKC62fiLUZvMYAvHvL/mLLSSZZg8VN JFWhQlZZq1zYs0FaBVdtw/IAw6ADZLlMGJLjwoiOgcxGpHKbajsB5DWMmF3e8gK36FLd LA2RupYOwKQci+IgfnSzKlJ0lvmud+DHsb8bVdoGd5wfLCFZuRaHt1xq0bWmQHfqbRm+ F0aInt+yhYxtYMCwTgyhggvf8l5OhW/gxIUfzj8wnEPmOFB8GcUo6kS4uHz7JqSckRD2 ZT2mQ5pOupU75A4J4xfiJY8EHLgYpNbLLximkVNKwRUtJvso37Wxp55ugX2RgFVIPjtr rnDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rLdHk0B1; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e21si2123136edy.555.2020.10.29.08.05.07; Thu, 29 Oct 2020 08:05:32 -0700 (PDT) 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=@kernel.org header.s=default header.b=rLdHk0B1; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727943AbgJ2PDV (ORCPT + 99 others); Thu, 29 Oct 2020 11:03:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:36944 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727933AbgJ2PDU (ORCPT ); Thu, 29 Oct 2020 11:03:20 -0400 Received: from pobox.suse.cz (nat1.prg.suse.com [195.250.132.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5388B20759; Thu, 29 Oct 2020 15:03:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603983800; bh=/m0ZiVrVXr02jrgeLf967OYFWeg3Z/wgT9FSdLb1gHY=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=rLdHk0B15Ub9uwiUgJADmNDEUlI63bB4qu8+zpDBxhsQyoVJUy7HaI0epNvclKgMg U+l2vmyugIiWdSbSdNrcdMsTSiDLzp3P/kzVcF357zfxDKwVSEAN23MnmRUDA3XdZP wQ9pUtfQrDaNE1rB0bg2AP9q1pSIgaRWKtXByHio= Date: Thu, 29 Oct 2020 16:03:16 +0100 (CET) From: Jiri Kosina To: Sandeep Singh cc: benjamin.tissoires@redhat.com, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, jic23@kernel.org, Nehal-bakulchandra.Shah@amd.com, mail@richard-neumann.de, Shyam-sundar.S-k@amd.com, lipheng@hanmail.net Subject: Re: [PATCH v3] AMD_SFH: Fix for incorrect Sensor index In-Reply-To: <20201028090010.2689060-1-Sandeep.Singh@amd.com> Message-ID: References: <20201028090010.2689060-1-Sandeep.Singh@amd.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 28 Oct 2020, Sandeep Singh wrote: > From: Sandeep Singh > > It appears like the accelerometer/magnetometer and gyroscope > indices were interchanged in the patch series which got into > for-5.11/amd-sfh-hid until Mandoli/Richard reported to us. > Ideally sensor indices should be 0,1,2 for the accelerometer, > Gyroscope, Magnetometer respectively, but this interchanged > possibly could be because i was using a test MP2 firmware > on my machine. > > This patch fixes the earlier commit with the right sensor > indices and also removing unused structures > _hid_report_descriptor, > _hid_device_descriptor as reported by Richard. > > Reported-by: Mandoli > Reported-by: Richard Neumann > Signed-off-by: Sandeep Singh > Fixes: SFH: PCIe driver to add support of AMD sensor fusion hub (4f567b9f8141) I've modified the Fixes: tag so that it has proper format and applied, thanks. -- Jiri Kosina SUSE Labs