Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4405928pxa; Mon, 10 Aug 2020 08:21:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLpVPOgQIKdou/1TR+BC5EI0BKRtMAtjp7nO8CgvH9B6+31fgrp8Y/d0uCnsn/hpSAk766 X-Received: by 2002:a05:6402:33a:: with SMTP id q26mr22699706edw.8.1597072909771; Mon, 10 Aug 2020 08:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597072909; cv=none; d=google.com; s=arc-20160816; b=e4rmR8njFeM3RreSvqkJKtujaUZcQU7dU0MX3lKnPIto4CCZe7sQ6nR1Mc5Pya2BZ1 IDj9BioNRKj5cAd6uG76/nxc4JAOmsfjRbPht8jyFib6+EyHpfiBZ3DSUPi/UVgqaXkb 05/bqGfasFyQpydZi1jRABJnHy4L3dlnVHeoAcOu8oH7Gt19jFULpPhj347HQnhaTvGd RIkM81oJlVGu86d4fbth4G5Lz4M858o54TsavgAda4S00VfF7zHk3TiFSlAxsR1AsTX7 7fxUqQc00bNVkA7SXgzr9/t+nWwVf+uJ9Qshkmf5cM30PHqV5rCR7qj3us40k2MMzxXo ZX8Q== 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=e+NtoYktDbgfK0pbF9474IpMaiW6etz+NxJuBepVtow=; b=jawwk4b+dbXdECoagI68NlZfvXPI1+GfJl1Fo0X1kCHGc9OXE4k2RHgA31mMZdEkD/ hJ4uOlJ5Xrjh8eYJ+r3XGbZqukoNKYSHjQX64cU0t6uiGbs+lBKpMrQRV075q6k0NQNa k44zemVCXHI1RFx34LkaV0ED06Yd/g/Tbxn+10QRO74dJSWy92lBOUbcokorQG4ano8Z fO4k5gVyWICNOsbyy0tc5HVt9zNpYjam3/4y3ayyB6Axu7MNxPVOrSFV5oAGCOIHWZdU O4cmqv83ZJlFWQMTVcBYCtquQyIH6g9lsEnsOy91i1uEhia/h88Ysr4OUGV/iFtrQlgE J5ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lTXwr4rZ; 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 x22si11003045ejw.73.2020.08.10.08.21.27; Mon, 10 Aug 2020 08:21:49 -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=lTXwr4rZ; 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 S1727947AbgHJPUP (ORCPT + 99 others); Mon, 10 Aug 2020 11:20:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:50472 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727925AbgHJPUM (ORCPT ); Mon, 10 Aug 2020 11:20:12 -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 BC68320772; Mon, 10 Aug 2020 15:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597072811; bh=RF1YYZcrR8jAOi1ZJRiN7u4xbfpSyq4rjhuxrTj5BHc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lTXwr4rZXbVdEy+bhfxId71wQhwYsWUA8sBQ/iBbTMOnL2YjkvL8C0v2SBbU2JTXK 86jux21ArsCsIRtM/VAtuwj+zLT8G7XxVek43fiuDDyXyCLQKmQjxah2lsBbZIhZJy 9pqYz5BoF3q8AhRJJnOb69DmFYtMo8HWZPXS1nyA= 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 5.8 18/38] omapfb: dss: Fix max fclk divider for omap36xx Date: Mon, 10 Aug 2020 17:19:08 +0200 Message-Id: <20200810151804.786453607@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200810151803.920113428@linuxfoundation.org> References: <20200810151803.920113428@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 @@ -833,7 +833,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,