From patchwork Tue Nov 29 05:04:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 84491 Delivered-To: patches@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1452302qgi; Mon, 28 Nov 2016 21:04:54 -0800 (PST) X-Received: by 10.84.216.25 with SMTP id m25mr57887109pli.117.1480395893822; Mon, 28 Nov 2016 21:04:53 -0800 (PST) Return-Path: Received: from mail-pg0-x229.google.com (mail-pg0-x229.google.com. [2607:f8b0:400e:c05::229]) by mx.google.com with ESMTPS id i93si29692278pli.12.2016.11.28.21.04.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Nov 2016 21:04:53 -0800 (PST) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::229 as permitted sender) client-ip=2607:f8b0:400e:c05::229; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::229 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-pg0-x229.google.com with SMTP id 3so65153311pgd.0 for ; Mon, 28 Nov 2016 21:04:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0eEJdiYirv3uEkBozaqvdUgW8bBQeWAWijGhAs0hS3Y=; b=OcqEFBmGFvy4Og0HiAdg9VzqISGJUXT7AZ/6XO3gv6k+RN3sJk9ggkTL1t4qTHxXXX VFvxyGGtPiPoJ8WXY6qqCRkJ4vq+l+BwIqx8ie2tJRz9t7w8jC8iNHaUDpl1gvLFrHY8 MMSzSLUYEDlEH+A7HpKQTTTjikUe7GY1PFJYw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0eEJdiYirv3uEkBozaqvdUgW8bBQeWAWijGhAs0hS3Y=; b=XBe1pWdeeFlLu525SJAEofs0Fg7WEs6uGsxLL+HWJ55Bz6rWuZUqWjXh4JDnKRLBk/ XkLrBv29gx1SdaORdbaXUMcz6+LfAWG1nHIgIqtbdJZBrwLNsvgAZgoOoUkZuZgwaYUB Q6p0QjsuT7WHB767hR+Hw5peDGczQI7cA71/szBe4iEKu+/X2vzQh7MVCKvr9Z2XnTKu 9+LKBqqQKAyp72O3rlxps0mLteTjgeGIx3KBtU5F4GQXpVn83EFdv67YtjoSDvZSlhZx eUbxpJv0EGg4PwQzjtx3oGo/KQ0XG9CYzrpCGr8APSlPgQqeMyRtd05Czq4cNDOJMy6k zZEg== X-Gm-Message-State: AKaTC01yH9DOulIr8DJ7LrnT5OsbIWHnqjih3xyZEWOxH2mwKTHm25TKbmnaU65M7dgIwPvfdtU= X-Received: by 10.99.188.2 with SMTP id q2mr46510423pge.34.1480395893552; Mon, 28 Nov 2016 21:04:53 -0800 (PST) Return-Path: Received: from localhost.localdomain ([2601:1c2:1002:83f0:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id b29sm73191498pgn.48.2016.11.28.21.04.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Nov 2016 21:04:53 -0800 (PST) From: John Stultz To: lkml Cc: John Stultz , David Airlie , Archit Taneja , Wolfram Sang , Lars-Peter Clausen , Laurent Pinchart , dri-devel@lists.freedesktop.org Subject: [RFC][PATCH 2/5 v2] drm/bridge: adv7511: Switch to using drm_kms_helper_hotplug_event() Date: Mon, 28 Nov 2016 21:04:41 -0800 Message-Id: <1480395884-5471-3-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1480395884-5471-1-git-send-email-john.stultz@linaro.org> References: <1480395884-5471-1-git-send-email-john.stultz@linaro.org> In chasing down a previous issue with EDID probing from calling drm_helper_hpd_irq_event() from irq context, Laurent noticed that the DRM documentation suggests that drm_kms_helper_hotplug_event() should be used instead. Thus this patch replaces drm_helper_hpd_irq_event() with drm_kms_helper_hotplug_event(). Cc: David Airlie Cc: Archit Taneja Cc: Wolfram Sang Cc: Lars-Peter Clausen Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Signed-off-by: John Stultz --- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c index b38e743..2caca0c 100644 --- a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +++ b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c @@ -406,7 +406,7 @@ static void adv7511_irq_work(struct work_struct *work) { struct adv7511 *adv7511 = container_of(work, struct adv7511, irq_work); - drm_helper_hpd_irq_event(adv7511->connector.dev); + drm_kms_helper_hotplug_event(adv7511->connector.dev); }