From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935633AbcIRTOT (ORCPT ); Sun, 18 Sep 2016 15:14:19 -0400 Received: from down.free-electrons.com ([37.187.137.238]:42183 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755862AbcIRTOK (ORCPT ); Sun, 18 Sep 2016 15:14:10 -0400 Date: Sun, 18 Sep 2016 21:14:08 +0200 From: Maxime Ripard To: Chen-Yu Tsai Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4] drm/sun4i: dotclock: Fix clock rate read back calcation Message-ID: <20160918191408.GI17518@lukather> References: <20160915151402.15992-1-wens@csie.org> <20160915151402.15992-3-wens@csie.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="v2/QI0iRXglpx0hK" Content-Disposition: inline In-Reply-To: <20160915151402.15992-3-wens@csie.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --v2/QI0iRXglpx0hK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 15, 2016 at 11:14:00PM +0800, Chen-Yu Tsai wrote: > When reading back the divider set in the register, we mask off the > bits that aren't part of the divider. Unfortunately the mask used > here was not converted from the field width. >=20 > Fix this by converting the field width to a proper bit mask. >=20 > Fixes: 9026e0d122ac ("drm: Add Allwinner A10 Display Engine support") > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --v2/QI0iRXglpx0hK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJX3ueAAAoJEBx+YmzsjxAgkSMP/1O/6VdYPKtoe4K1AvM+8FC+ Jp/gZVubq1PUsjyPGBFcX50/10uA1z1bCNXCFFjKiHHpanSDU4Um0CMgTuKdS4PX iLaOdxq66AR4hS9pc8pGucmQP6Fsl2TO/1GJr9ENypGQmwneCqxKzBPUWZqO+3sz 7dSnSHdb0YRnBK0dDvM8kWC+6/6LlganuqMDepHs6PEBGRhqctj8h8UJIY18n7A7 B4DU0QXl3MhfxNUn69Bhoj9fAvmwlX2Vgi8WDZwD3slSAZMUhmwacSewvNn39bgc TznnKMHF9mMJQ797T9CIYCwjeiRDDMfUTzqW0k361DwG5/bcu6LuauUc0inIuBvv jMld0fsIbbjgGqt45T2BM/JY5Vy7g3GXcVBrRNKWYeVP0R39+QYSH9ocbcpN+rpY SbYgPj+ECaxoFmGNaDKL3l9ln/pPLlkPpHepTKk9ZAdZC6zbaNCrZ8AhhfAhEAII /MN8UXvT5Prq7Lhp4u3EqDlNyP0yPALpQYEL5cnkGCgDXtiz6flwLRVG6jOubiDL +Aj4lZwOD1rtiOL0lsD8m+IJAMHcogIs9PqGVRicccIah/Oq2br7kZQCasLh9+t2 jKOuNFSaB9pZEtY6rRxOlD4Ib72rHI5olVzg+Mg+pvVFQGOU/5GODoD6yK1O8wSK NwRZZE5LtB+lN7hMk0a9 =7GtU -----END PGP SIGNATURE----- --v2/QI0iRXglpx0hK--