Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932451AbcLNLUl (ORCPT ); Wed, 14 Dec 2016 06:20:41 -0500 Received: from mga03.intel.com ([134.134.136.65]:50152 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755605AbcLNLUk (ORCPT ); Wed, 14 Dec 2016 06:20:40 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,346,1477983600"; d="scan'208";a="1081683555" Subject: Re: [PATCH V5] i2c: designware: fix wrong Tx/Rx FIFO for ACPI To: Tin Huynh , Andy Shevchenko , Mika Westerberg , Wolfram Sang References: <1481707438-32240-1-git-send-email-tnhuynh@apm.com> Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Loc Ho , Thang Nguyen , Phong Vo , patches@apm.com From: Jarkko Nikula Message-ID: Date: Wed, 14 Dec 2016 13:20:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <1481707438-32240-1-git-send-email-tnhuynh@apm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 509 Lines: 13 On 12/14/2016 11:23 AM, Tin Huynh wrote: > ACPI always sets Tx/Rx FIFO to 32. This configuration will > cause problem if the IP core supports a FIFO size of less than 32. > The driver should read the FIFO size from the IP and select the smaller > one of the two. > > Signed-off-by: Tin Huynh > > --- > drivers/i2c/busses/i2c-designware-platdrv.c | 31 ++++++++++++++++++++------ > 1 files changed, 24 insertions(+), 7 deletions(-) Acked-by: Jarkko Nikula