mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 02:00:43 -04:00
Merge tag 'tilcdc-4.18' of https://github.com/jsarha/linux into drm-next
tilcdc v4.18 pull request Signed-off-by: Dave Airlie <airlied@redhat.com> # gpg: Signature made Thu 10 May 2018 03:30:33 AM AEST # gpg: using RSA key 9036B350D7D61941 # gpg: Can't check signature: public key not found Link: https://patchwork.freedesktop.org/patch/msgid/2502349c-87fd-57e8-d950-835ffb6c449f@ti.com
This commit is contained in:
@@ -224,7 +224,7 @@ static void tilcdc_crtc_set_clk(struct drm_crtc *crtc)
|
||||
|
||||
ret = clk_set_rate(priv->clk, req_rate * clkdiv);
|
||||
clk_rate = clk_get_rate(priv->clk);
|
||||
if (ret < 0) {
|
||||
if (ret < 0 || tilcdc_pclk_diff(req_rate, clk_rate) > 5) {
|
||||
/*
|
||||
* If we fail to set the clock rate (some architectures don't
|
||||
* use the common clock framework yet and may not implement
|
||||
|
||||
Reference in New Issue
Block a user