Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp126964yba; Mon, 20 May 2019 06:09:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJUiytTJr+NoiAfdcB/vWg76Elcr4FuannipZ7X5iiC2j9oSL063K8lBaCxGoKzxpb7p3z X-Received: by 2002:a17:902:324:: with SMTP id 33mr76291140pld.284.1558357766019; Mon, 20 May 2019 06:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558357766; cv=none; d=google.com; s=arc-20160816; b=t19pUFD+nsxejROvDmiAe1O1qsRWl4LVxscMDy6nFWegcXPlLSyAth1nnl1TeIsUA0 W7CmqYOKp9ydmnFZ3LIJ944EqYrM6dPOjJqRG3Xr8aa4WBGTOHyr8yIFoeJiu1mEW86D h+9PIAO3JqtH1aWFfWZoSwELh/mvqeckVH8YXvTZef1Rs+M2F7LLqC418aTBS64RkC5l iJucykvDxG0JuK115uqU+xfIdC0XZrtM/uWUuCqSpZxD7Fyw4YdHUSKUpQQfaSgLB/Ok aSS5Of5lRqVHdeR0IoRfznr5/q/Qg4N06YxCoy7ZEECoMx9U+FZ32vUUpHJgO0a5Swb2 Zg2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=NtXp1qUqcm3uZCNPXqEQ7xEuqH7F3Cd1oa/vGsVVX9M=; b=KMNi0YFgazvT6tlHE4aSLSd0EiaHQJb3oquAupfdTRKCFQ0ssVYEUSantWXq7pNMgx sx3L6BHFnAkEnwV+8Bs6IKyjN/Uep0jmiqXRe5ltALMsm8l+cVnA6TRAO4lxjFDpUUJa YZb6c7bSfBj+4MHa0WazzOcB+7W91BEbTdxGIMYUqjA62uNMdKHYNkRTryHvyQJNs9N0 D5yydsVPhZNC7VI6oVfqhg8sj8IHwjxdbaSt+s9+2eqG2LAt8zyda4MwSCDckmNRqoXg K7iPZv6/OrlS+dcW3fEaqcVEX61t78UQ/tfZCPHEcDkOKx0kpZEq4wN4SD/LZqBVK8If XlrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t8si17652014pga.482.2019.05.20.06.09.07; Mon, 20 May 2019 06:09:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730513AbfETJGK (ORCPT + 99 others); Mon, 20 May 2019 05:06:10 -0400 Received: from mail-vs1-f65.google.com ([209.85.217.65]:35863 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725772AbfETJGJ (ORCPT ); Mon, 20 May 2019 05:06:09 -0400 Received: by mail-vs1-f65.google.com with SMTP id l20so8463634vsp.3 for ; Mon, 20 May 2019 02:06:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NtXp1qUqcm3uZCNPXqEQ7xEuqH7F3Cd1oa/vGsVVX9M=; b=JzrKXmsSHYT/3Pbueww8hYrwL5xey0MdOwd+dzLtpQN4UP563o9EnECbmxpPRc02n7 cQJKwpUJagV1SB20mRFqtumcFj0iC/nt22sXNavnBcO4tdW0tLHriYsnwBdcKfwWx/up iBg4DorCWjM9Vn+0l8PC53ZESijN6UJRkPMOTyUepyqVxU2txx+PaJo6C8M6v7oWpDYO eFiTdLVbjxHeuEkceoLmKL7k9ZsbjYuzBEtR6JzYFsq/wv/85K/3H2yfnbcwY54QgpXl kjwvOYpdgy/SyHACt9zJstXOm29LWI2fBSBpuxiskjMfGQ3c5VuuXaqdXsTEx4X3BGRC YanA== X-Gm-Message-State: APjAAAVEOdyrY5oB/Fqgcg9u0J2SOa+Sw4XJIqfs09J9iy29JrRzJLw9 ZiBkzq+3zwKJaP5PuJjyeyfyCCpyv5nIUZauPvg= X-Received: by 2002:a67:f303:: with SMTP id p3mr23011462vsf.166.1558343169054; Mon, 20 May 2019 02:06:09 -0700 (PDT) MIME-Version: 1.0 References: <20190520082216.26273-1-daniel.vetter@ffwll.ch> <20190520082216.26273-21-daniel.vetter@ffwll.ch> In-Reply-To: <20190520082216.26273-21-daniel.vetter@ffwll.ch> From: Geert Uytterhoeven Date: Mon, 20 May 2019 11:05:57 +0200 Message-ID: Subject: Re: [PATCH 20/33] fbdev/sh_mob: Remove fb notifier callback To: Daniel Vetter Cc: DRI Development , Intel Graphics Development , LKML , Daniel Vetter , Bartlomiej Zolnierkiewicz , Markus Elfring , Geert Uytterhoeven , Wolfram Sang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 20, 2019 at 10:22 AM Daniel Vetter wrote: > This seems to be entirely defunct: > > - The FB_EVEN_SUSPEND/RESUME events are only sent out by > fb_set_suspend. Which is supposed to be called by drivers in their > suspend/resume hooks, and not itself call into drivers. Luckily > sh_mob doesn't call fb_set_suspend, so this seems to do nothing > useful. > > - The notify hook calls sh_mobile_fb_reconfig() which in turn can > call into the fb notifier. Or attempt too, since that would > deadlock. > > So looks like leftover hacks from when this was originally introduced > in > > commit 6011bdeaa6089d49c02de69f05980da7bad314ab > Author: Guennadi Liakhovetski > Date: Wed Jul 21 10:13:21 2010 +0000 > > fbdev: sh-mobile: HDMI support for SH-Mobile SoCs > > So let's just remove it. > > Signed-off-by: Daniel Vetter Reviewed-by: Geert Uytterhoeven Display still works fine on Armadillo800-EVA, before and after system suspend/resume, so: Tested-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds