From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933965AbbFJR2b (ORCPT ); Wed, 10 Jun 2015 13:28:31 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:52357 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933259AbbFJR2X (ORCPT ); Wed, 10 Jun 2015 13:28:23 -0400 Date: Wed, 10 Jun 2015 18:28:18 +0100 From: Mark Brown To: Murali Karicheri Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <20150610172818.GG14071@sirena.org.uk> References: <1433921022-13151-1-git-send-email-m-karicheri2@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HGQiUpf3h2mG3oks" Content-Disposition: inline In-Reply-To: <1433921022-13151-1-git-send-email-m-karicheri2@ti.com> X-Cookie: The end of labor is to gain leisure. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH v1] spi: davinci: change the lower limit of pre-scale divider to 1 X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --HGQiUpf3h2mG3oks Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 10, 2015 at 03:23:42AM -0400, Murali Karicheri wrote: > SPI hardware spec for Keystone specify a lower value of 0 for pre-scale > divider which determine what max value of spi clock (spi-max-frequency) > the device can support. This translates to a clock divider of 2. So fix > the lower limit value used for the boundary check in > davinci_spi_get_prescale() function to 1 so that a maximum of spi device > clock rate / 2 is possible to be set for spi-max-frequency. Applied, thanks. --HGQiUpf3h2mG3oks Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVeHOxAAoJECTWi3JdVIfQw2UH/33fS6TT8KLx0To0TFAKCmJH x36GIFZFl6FCdOU/wdmFjCVkdyQGS1Rza63MBuXhAk+46Rvq9G4qIayxQdU0Ivv0 nFRcTG+LgHmONL1qm1+m4IPhczXCz431w7m5IoyCyVjA5Dy4GCaOuzd0wD5nlxff k0m0ilOY890TNNXgvZ/AucSaw0ozgbhPrtfRvwN7XZqUxN0AE7cOJMVPHyYCCEMD aBUpxpmI4xqqEg1YJn2DXrw0mIjNBS/XGrsrX/rfWqG8pRhXDN3qVx27ffIG/m6r mxdgeV9geDDzoS/Hgbom7L3wHTtM7loCS2eruO9E2eCOWHvz9p2qAegzgn98pSg= =jbeP -----END PGP SIGNATURE----- --HGQiUpf3h2mG3oks--