From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarkko Nikula Subject: Re: [PATCH V5] i2c: designware: fix wrong Tx/Rx FIFO for ACPI Date: Wed, 14 Dec 2016 13:20:34 +0200 Message-ID: References: <1481707438-32240-1-git-send-email-tnhuynh@apm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: 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 In-Reply-To: <1481707438-32240-1-git-send-email-tnhuynh@apm.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Tin Huynh , Andy Shevchenko , Mika Westerberg , Wolfram Sang 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 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