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=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS 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 74824C43603 for ; Sun, 15 Dec 2019 09:30:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4A7492067C for ; Sun, 15 Dec 2019 09:30:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576402205; bh=Vymwcu7uYvBK4z8HEg0BMYbEO/aIGbDKdjN7e3TFBBo=; h=Subject:To:Cc:From:Date:List-ID:From; b=Obrm81Z+Erl094UpTvT6bAsYLVHLNDo0YByk5Po4H/Yjil+m/ZCq8VLQElRbv8Bun pDfM5+RHbZsliCe8sNmlbQsT9QpPMsagGhIMp7jBPOLBcH2tXNVX/YJQC40hj0c12P Gb7h8Ve/txonwCul3inckXISqUf/KWztEUmjqfSU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726194AbfLOJaF (ORCPT ); Sun, 15 Dec 2019 04:30:05 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:50601 "EHLO wout4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726192AbfLOJaE (ORCPT ); Sun, 15 Dec 2019 04:30:04 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id DCD9C6B7; Sun, 15 Dec 2019 04:30:03 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 15 Dec 2019 04:30:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=5C2YOc TBfC7YsfwyGtF59d17P75Rtf1vz4owBRnUlro=; b=WxCBdVjL5UaF6NjhJ2HVps 32LHjAHEGW+7tCvEfiKUtKLFHhztMCB2N76H9n5MxNrpYpMKa8yBvg3oy/SjEkv+ NKJeNSm+EKjfK4pFDEaNqY9qXN5Cz1kjVJGKaCmBSgZCscxRSOHddYcAoves++fV kDjstIupEpsFIvBuT1+zX3t1M0jimj8K++zXn9OeITujQjCYPc7JxA4FEkRyEEHa ZeVKrhnCXPZhNer3WJaiyluUlh8ttO+C76m33+3jF+RnsRczdZZhPIzdtoznberJ 2hM/Uh0axZkepqjdwL48Se8AOf6cplDnThbNDdCBGT0AQM8pT9p4nNZYoP6xK89w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddtfedgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvffhfffkgggtgfesthekredttd dtjeenucfhrhhomhepoehgrhgvghhkhheslhhinhhugihfohhunhgurghtihhonhdrohhr gheqnecukfhppeekfedrkeeirdekledruddtjeenucfrrghrrghmpehmrghilhhfrhhomh epghhrvghgsehkrhhorghhrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 1899D80063; Sun, 15 Dec 2019 04:30:02 -0500 (EST) Subject: FAILED: patch "[PATCH] iio: adis16480: Add debugfs_reg_access entry" failed to apply to 4.9-stable tree To: nuno.sa@analog.com, Jonathan.Cameron@huawei.com, Stable@vger.kernel.org Cc: From: Date: Sun, 15 Dec 2019 10:30:00 +0100 Message-ID: <1576402200163201@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 The patch below does not apply to the 4.9-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >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: [PATCH] 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 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)