From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751915AbcFETEf (ORCPT ); Sun, 5 Jun 2016 15:04:35 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:36401 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751719AbcFETEc (ORCPT ); Sun, 5 Jun 2016 15:04:32 -0400 Date: Sun, 5 Jun 2016 14:04:29 -0500 From: Andy Gross To: Stephen Boyd Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Pramod Gurav Subject: Re: [PATCH 2/3] tty: serial: msm: Only configure MND registers on hw that has it Message-ID: <20160605190429.GH13357@hector.attlocal.net> References: <20160512010228.21548-1-sboyd@codeaurora.org> <20160512010228.21548-3-sboyd@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160512010228.21548-3-sboyd@codeaurora.org> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 11, 2016 at 06:02:27PM -0700, Stephen Boyd wrote: > The registers that msm_serial_set_mnd_regs() writes only exist on > the non-uartdm hardware, so let's return early here if this > function is called on uartdm hardware. This also prevents us from > messing up the uartclk variable if the uartclk rate happens to be > 19.2 or 4.8 MHz. > > Signed-off-by: Stephen Boyd Acked-by: Andy Gross