Received: by 10.223.185.116 with SMTP id b49csp5215498wrg; Wed, 7 Mar 2018 08:07:37 -0800 (PST) X-Google-Smtp-Source: AG47ELuetMPmctUGZduhJdWJBx1YLCbtDKghpOHGCPNThbt/ledlLhuL/OtsYnXrXJpE+QmQvDR7 X-Received: by 10.101.85.204 with SMTP id k12mr18977683pgs.40.1520438856978; Wed, 07 Mar 2018 08:07:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520438856; cv=none; d=google.com; s=arc-20160816; b=KDkTEDJ0fGwPtda9Qzyku5nD+EegsdAqDGTaXT3071Oc33bQ8ur/siLguebrADOI7H rcySA/SunFOV6yT7Qwp6euOpzTMTEEoABQO9VhoudtoqmoPlTCCngk/n9O+16yzGA3U0 yGcWEg8gXsLTFTEtdSoyJ/weQjMLSciy7OAxTazuAG7HW/B5lcYQTnu/LFRbH09vcgkU HaBFpeSuFKECKft7AMJTl3c2Vmzbwk8P+pAajFkdn3ykum0a06VMB8F4lMHN7VLfCZUS Vy0MmAx8q1t15IcyZRXpNsybO055MZWScoH9u2NDwz4ym0j+txoSNyJU9iPV7+K7SaYq v6JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=lV0WaTvvWDLmD9hMadEWAowL22QE3PgU0x42JsmGqMY=; b=azPMWlBVmjjHXkbMH0klbSlG8DBunINUZeukbvp2mZGhEEkJxg1UkPS4foBVLBpRpK ZU199TmV6b8EL+K70dAkdzZwsUHikQSq+eIgwk8pI8BkyzhLoyehoxajyw0kJZMxo7cE HQGJ1kct15uilUfWmpa3v5oFxsAM/z58h5sdTOz1z96gdL0MOE4c7MjicO1jX4LlmD0k hjGvQCbYLLkYmQ/Yt906RTAQl6y6DewYCsQyJDHOpYKOnV7apsJqi+Y6HQr1683PzOne bDXWZuPFFgw3SF0P123ycPENRDd38Uvz6gF6TGT2cvrIt+zx3DC6b/1t0cqadnA4MOzj 0qzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FMsIhjmC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si11470680pgh.687.2018.03.07.08.07.20; Wed, 07 Mar 2018 08:07:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FMsIhjmC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934022AbeCGQFT (ORCPT + 99 others); Wed, 7 Mar 2018 11:05:19 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:51884 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933502AbeCGQFQ (ORCPT ); Wed, 7 Mar 2018 11:05:16 -0500 Received: by mail-wm0-f65.google.com with SMTP id h21so5795260wmd.1 for ; Wed, 07 Mar 2018 08:05:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=lV0WaTvvWDLmD9hMadEWAowL22QE3PgU0x42JsmGqMY=; b=FMsIhjmCZ/ELjwlFXz4wBeV7o191Wq6rb6qTQVbKO8kD3F1dB2q41rCQW7v4anzrw0 ZewoxPcNMAfrb2ni4I+gTLN2rgUpLiBms0lE07dRNEfi0H2w6ZSvSHnA8+mNNaBHGd1A ec6xN6SBdUWAbspMnJk1pLPBYcFkQryigEPio= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=lV0WaTvvWDLmD9hMadEWAowL22QE3PgU0x42JsmGqMY=; b=g0079XX3bYFGfV1L8bjfWv+PVChVf+pLI5DAfJhBF0vx2ocwcwshNDhiiQn7FEhRtC u8kTq/SQIAVa5imZqIn+pzwSPbkPQKMmVXrMAUqukHqshYvWwaL2zglKY+E/VEgjrc83 5NSAntyA/9gKkl/TnI1zXNZZeeNJLNWJEPn+CoCo0YfOvV3zYTMtAjZ0jrfNmmjXj7t1 3i9w72mDu9N4NVHMlviN6naBEWAX2CSgmy5SHUQHEDcdyoiMgglvQrbIFNaUpvOfNODo 2VtqK4z17yTLIS0zQTp6VxjxMm+xew0IxMVf9F7PyYu1igDNTFpQx9Z4PXZHf3Hdn4AM dxRA== X-Gm-Message-State: AElRT7EpkoxD7Lt/03RGBbGGcP4gTPiNL9uPvJK3aBLKeZZbgwMz7ZTC neSiI+T7TFq+DCFUJyORbHxJdg== X-Received: by 10.28.178.81 with SMTP id b78mr16159505wmf.78.1520438715635; Wed, 07 Mar 2018 08:05:15 -0800 (PST) Received: from dell ([2.27.35.218]) by smtp.gmail.com with ESMTPSA id p29sm15587903wmf.3.2018.03.07.08.05.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Mar 2018 08:05:14 -0800 (PST) Date: Wed, 7 Mar 2018 16:05:13 +0000 From: Lee Jones To: Enric Balletbo i Serra Cc: groeck@chromium.org, andy.shevchenko@gmail.com, kernel@collabora.com, gwendal@chromium.org, linux-kernel@vger.kernel.org, Daniel Hung-yu Wu , Daniel Hung-yu Wu Subject: Re: [PATCH v3 6/8] mfd: cros_ec_dev: register shutdown function for debugfs Message-ID: <20180307160513.wv3vjkw77hx456gt@dell> References: <20180226102606.15093-1-enric.balletbo@collabora.com> <20180226102606.15093-7-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180226102606.15093-7-enric.balletbo@collabora.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Feb 2018, Enric Balletbo i Serra wrote: > From: Daniel Hung-yu Wu > > Reboot or shutdown during delayed works could corrupt communication with > EC and certain I2C controller may not be able to recover from the error > state. > > This patch registers a shutdown callback used to cancel the debugfs log > worker thread. > > Signed-off-by: Daniel Hung-yu Wu > Signed-off-by: Enric Balletbo i Serra > Reviewed-by: Andy Shevchenko > --- > > Changes in v3: > - [6/8] Add the Reviewed-by Andy Shevchenko. > > Changes in v2: > - [6/8] This patch is new in this series. > > drivers/mfd/cros_ec_dev.c | 9 +++++++++ > 1 file changed, 9 insertions(+) Acked-by: Lee Jones -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog