From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45672C432C3 for ; Wed, 13 Nov 2019 21:44:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 32EBC206EE for ; Wed, 13 Nov 2019 21:44:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573681499; bh=L3ceKPvNQJ35hR2P1XlVroi/UxeZP6uUabiYk3EvMSc=; h=Subject:To:From:Date:List-ID:From; b=miee6xht240W5QCnv21UBEPsA3uTpDVCV/i42+d77ytlySS3AJ7lj9dR2YZbqr2yn 2vvyW3p85P6qSEEGmaCV17TIYryvnhU3wqgv0WEKy4WkO9vBRTqL29xRvOOtNu7yB2 n1hGGV5edQWdl7Y8EbYVsb/G7PYLrQyWYeZL5gLw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726755AbfKMVo5 (ORCPT ); Wed, 13 Nov 2019 16:44:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:41288 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726189AbfKMVo5 (ORCPT ); Wed, 13 Nov 2019 16:44:57 -0500 Received: from localhost (unknown [61.58.47.46]) (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 5C397206EF; Wed, 13 Nov 2019 21:44:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573681496; bh=L3ceKPvNQJ35hR2P1XlVroi/UxeZP6uUabiYk3EvMSc=; h=Subject:To:From:Date:From; b=uzT2R5L7JjX2BymfwK84+HsZYrxDt1o5nh7OdOwSdFHSxyTSOfpBSXj+uSZexxlPJ wrTfWoQtW3q8V5PpT3eAEL55GhbtdHWTf76Su4EAZGcpRj+poGEtLpiwPOeEykfsqO +CJzCr87aPZpJ0FCAcHle5gP5OyWwkh+lwP+XmKQ= Subject: patch "iio: adis16480: Add debugfs_reg_access entry" added to staging-next To: nuno.sa@analog.com, Jonathan.Cameron@huawei.com, Stable@vger.kernel.org From: Date: Thu, 14 Nov 2019 05:43:53 +0800 Message-ID: <1573681433251199@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org This is a note to let you know that I've just added the patch titled iio: adis16480: Add debugfs_reg_access entry to my staging git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git in the staging-next branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will also be merged in the next major kernel release during the merge window. If you have any questions about this process, please let me know. >From 4c35b7a51e2f291471f7221d112c6a45c63e83bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20S=C3=A1?= Date: Mon, 28 Oct 2019 17:33:49 +0100 Subject: iio: adis16480: Add debugfs_reg_access entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The driver is defining debugfs entries by calling `adis16480_debugfs_init()`. However, those entries are attached to the iio_dev debugfs entry which won't exist if no debugfs_reg_access callback is provided. Fixes: 2f3abe6cbb6c ("iio:imu: Add support for the ADIS16480 and similar IMUs") Signed-off-by: Nuno Sá Cc: Signed-off-by: Jonathan Cameron --- drivers/iio/imu/adis16480.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu/adis16480.c index f1d52563951c..078d49deebd4 100644 --- a/drivers/iio/imu/adis16480.c +++ b/drivers/iio/imu/adis16480.c @@ -923,6 +923,7 @@ static const struct iio_info adis16480_info = { .read_raw = &adis16480_read_raw, .write_raw = &adis16480_write_raw, .update_scan_mode = adis_update_scan_mode, + .debugfs_reg_access = adis_debugfs_reg_access, }; static int adis16480_stop_device(struct iio_dev *indio_dev) -- 2.24.0