Received: by 10.223.185.116 with SMTP id b49csp5201112wrg; Wed, 7 Mar 2018 07:55:14 -0800 (PST) X-Google-Smtp-Source: AG47ELvyGNkEwrEisY/MDRUPrutkVeN6ED9TaQlApw63dBcUFYZwHhbD8EcA5rzd/sTtompGIONv X-Received: by 10.99.126.22 with SMTP id z22mr17571389pgc.131.1520438114653; Wed, 07 Mar 2018 07:55:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520438114; cv=none; d=google.com; s=arc-20160816; b=Z4YUcvhlscMZr9pM7TWjCJJandKprLSoIqkHIVMMnaAcAXPKVIGP7LMxp0WK+S4Hba iU15PeBGVPEhqIh3JnFh4JY9zZqgieZzGj485/kgerq3HrRelFWacoRgzBIN9ekNWlcV c24Om/2Xmkttnbry4bZ2asoDJrCL9Utc4VkQ+ieeAd7c17raYpwLBu++f51Tv7MMRX3f mwksLDk7nNm1YIGw8yoGoV9eHtui4RZXYG/cxUaunzb2TxfkGO7pyDB8qV9zBk5yxMIq MIi7vMNQJo2WfCmIGjDBxpel8HPT4y5JlqUMBdjglyldMMSf3NGHxVALzMCH2Xtgas4T 7xxQ== 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=Lr6NWLfl6Jmdg1pdybhLnD1j7kn0tqi2yxt1TnWsEuA=; b=hGQCqoAJV+nHF/+AO3PtNMjlnGMm6lGgQDB00N/oz/RaMhYw33Xyrn0oW6tEMjH2Te nM2aj16OP2uBLm32ps/OFf768ghLMjwN4E097iSA/6Ua6VYa5+jfBNYZ4VoPdmnEgChg hEPEvLNyvmyPaaMUP6cpBni8ggnpB2bDbTTjSVNZLZO0EiYYqiVnNJ42gUb2N2aRrxmb kB/LigV2v/TOdhc+9ic93On66DzCIGF1PDme4+L9I+h4bsS66fG7XI1okRXvm+S1m4mx dZSI/Se2/E+xZmH9PbIHMe3bwlhg6WMkl9o60HadcPMaxO2p25592wgnNdt4CSFX0FUc xtgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gS84K12l; 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 a12si5876919pgu.501.2018.03.07.07.54.59; Wed, 07 Mar 2018 07:55:14 -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=gS84K12l; 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 S934208AbeCGPwY (ORCPT + 99 others); Wed, 7 Mar 2018 10:52:24 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:38042 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933970AbeCGPwV (ORCPT ); Wed, 7 Mar 2018 10:52:21 -0500 Received: by mail-wr0-f195.google.com with SMTP id n7so2660234wrn.5 for ; Wed, 07 Mar 2018 07:52:21 -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=Lr6NWLfl6Jmdg1pdybhLnD1j7kn0tqi2yxt1TnWsEuA=; b=gS84K12lbeSdPvfyFwSIKk9+v7G55VQRZva21ZOwDlnOfIb0Zw1+BBEWdob4hPNHEB qqAbHEOkZQqkVBoyeZc+M3KV0wKJGhuqeN8nwD/6EuS2NULZmtJL0qQQ7nGqWvGF6q0H b2g+g6MW0wzKIN5Gx6Ha5nGDNdBA74BIYCbgo= 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=Lr6NWLfl6Jmdg1pdybhLnD1j7kn0tqi2yxt1TnWsEuA=; b=StnBRlimwcugVx8aDbLg4h0qqR0RFr6qb8YN/TIKPliFVCVFezQ0V2ORewkFnmbQxz UVnRK6h79pmpGBro5xRcSkfquv9EszHBNyOfBRcgjd68kMiINzyk2AS4bm8wk7j/QCln o4XXb5GfpOJpcQIVUo+3F68dl5MrbatKQu+J3zd6okAfCy43H897pHB56JvOh8hX+dqc sjkvsyPrb42ijPB43pmwCneYnVJ6vLCTUY/ZmrG3fedg3BWf2wMg3oVWkkkXLAr/2nzT D5Wu2I//akulOY9ZxLkjIIaQz5sDHtxbNmjQgWwEePEnCvylB1WnNBP19TFDZaA71SoM Qjwg== X-Gm-Message-State: APf1xPDXKo3HETEQFmP3UwE2oKB3j9gtaZZYGbu9BEE7It5UM4ku3h68 y9n7tckcORrixneASEynjihUDQ== X-Received: by 10.223.209.68 with SMTP id b4mr19646862wri.161.1520437940770; Wed, 07 Mar 2018 07:52:20 -0800 (PST) Received: from dell ([2.27.35.218]) by smtp.gmail.com with ESMTPSA id i49sm19981477wra.44.2018.03.07.07.52.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Mar 2018 07:52:20 -0800 (PST) Date: Wed, 7 Mar 2018 15:52:18 +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, Vincent Palatin Subject: Re: [PATCH v3 1/8] mfd: cros_ec: fail early if we cannot identify the EC Message-ID: <20180307155218.vxykivgzfef4bjjp@dell> References: <20180226102606.15093-1-enric.balletbo@collabora.com> <20180226102606.15093-2-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-2-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: Vincent Palatin > > If we cannot communicate with the EC chip to detect the protocol version > and its features, it's very likely useless to continue. Else we will > commit all kind of uninformed mistakes (using the wrong protocol, the > wrong buffer size, mixing the EC with other chips). > > Signed-off-by: Vincent Palatin > Acked-by: Benson Leung > Signed-off-by: Enric Balletbo i Serra > Reviewed-by: Gwendal Grignou > Reviewed-by: Andy Shevchenko > --- > > Changes in v3: None > Changes in v2: None > > drivers/mfd/cros_ec.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) Acked-by: Lee Jones -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog