Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4416071pxa; Mon, 10 Aug 2020 08:34:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOqy9B6SFsyr1tDsgXA5IVkI3BeYaXYRttY3izG828MD/OVdg7CoOLrTf4GnH4ckL+0RYT X-Received: by 2002:a05:6402:1ad1:: with SMTP id ba17mr21043993edb.119.1597073682603; Mon, 10 Aug 2020 08:34:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597073682; cv=none; d=google.com; s=arc-20160816; b=tl3OSAkwaHu2naBhwvG+Ed6MSb3XPoYYbM2XP4V4y9cBEfhSCvMFi/3zl1oZoFrbOz Dsqo50tI/NU7x0I4dyKO6iSNSrpiNYPs837o73paRzBnD8UCC9ZGQFwwc8t0phhOgbXi lojmV0I4F4A9pP5rt/BsaVw+hUCxj0E9h/6OUVfmqw/osazO7+A0Nm7bL/WwqLpIwTrY D1cfWqKxpElfUzwNfEVyvU70RruVZ0b+NAjoA8g++fQtZZmfFJm45ZFVLvE0FiJn/Ukd zNOGYQgwmk8ye3eHDAmFTqIzOUWGiiZw9Snxok+0VvwpMrAkrxw9VnKi9JSjZQ4oEKyC SQgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bnURNXLPArlb0hDyRP2seRITMrPmpthzvGc+ZAqsxXI=; b=YDZxXiuUxVkjk23ZyzRHkA79emyVGkI+XccZ58lYMpbmND12gFjQ/wBOHWIVvE5iBL jeFMwu9BMoCwefsyuBmYbYDZbO4oJAOZXugbsQRGhInAA9qmgyds2em2bNCNEmgaUGp1 NfcmppV3UioD1NVYQ9tkJY0JEk56ePdO654Zgq3ry70aNx+H6aAPahizFMhTqy5VJQCc w/m2Q8GwNelFXhcUpNyzPYS9RaEICkbvCIdvi3SXLeh260jTXwA/TJNa94RiNg57OVK0 BMCwYYNwTFeyyFDtUtqLwOJ+emcV9EBPt5zFaoaidAaY+dkeDTn+prGrihnZzGOE8+rg zCPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="JfvCseM/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt16si10952585ejb.353.2020.08.10.08.34.19; Mon, 10 Aug 2020 08:34:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="JfvCseM/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728965AbgHJP3c (ORCPT + 99 others); Mon, 10 Aug 2020 11:29:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:35760 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728717AbgHJP3X (ORCPT ); Mon, 10 Aug 2020 11:29:23 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E610422D06; Mon, 10 Aug 2020 15:29:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597073363; bh=dX9lryERl7HaFYydM0XwqRAKMHC6Yu+pe1USL54S/PU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JfvCseM/Kh19fEw7MTZSYnnRmr/MAKmGOkZxbede9maQSdG3fgPeFm6bET794OJjt jAnVZKGZjlbuHw1TYlUIZKyEXX8FJ1xpDytOwgwIjq6Fnxf8+5CkIxiod3KVDysQuZ 9fWDl4+u6AlldAgL1XgsAIg3TDgmIKAdRN/UruZk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Adam Ford , Tomi Valkeinen , Dave Airlie , Rob Clark , Bartlomiej Zolnierkiewicz Subject: [PATCH 4.19 11/48] omapfb: dss: Fix max fclk divider for omap36xx Date: Mon, 10 Aug 2020 17:21:33 +0200 Message-Id: <20200810151804.764621059@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200810151804.199494191@linuxfoundation.org> References: <20200810151804.199494191@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Adam Ford commit 254503a2b186caa668a188dbbd7ab0d25149c0a5 upstream. The drm/omap driver was fixed to correct an issue where using a divider of 32 breaks the DSS despite the TRM stating 32 is a valid number. Through experimentation, it appears that 31 works, and it is consistent with the value used by the drm/omap driver. This patch fixes the divider for fbdev driver instead of the drm. Fixes: f76ee892a99e ("omapfb: copy omapdss & displays for omapfb") Cc: #4.5+ Signed-off-by: Adam Ford Reviewed-by: Tomi Valkeinen Cc: Dave Airlie Cc: Rob Clark [b.zolnierkie: mark patch as applicable to stable 4.5+ (was 4.9+)] Signed-off-by: Bartlomiej Zolnierkiewicz Link: https://patchwork.freedesktop.org/patch/msgid/20200630182636.439015-1-aford173@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/video/fbdev/omap2/omapfb/dss/dss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/video/fbdev/omap2/omapfb/dss/dss.c +++ b/drivers/video/fbdev/omap2/omapfb/dss/dss.c @@ -844,7 +844,7 @@ static const struct dss_features omap34x }; static const struct dss_features omap3630_dss_feats = { - .fck_div_max = 32, + .fck_div_max = 31, .dss_fck_multiplier = 1, .parent_clk_name = "dpll4_ck", .dpi_select_source = &dss_dpi_select_source_omap2_omap3,