From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: ACJfBovkKTwtMbnsy4PPDl2zz28Af7QgGXnPa6iTgBV2GaK1+5zYKo2WgPc6DcmShNZpDmx+GspY ARC-Seal: i=1; a=rsa-sha256; t=1515416409; cv=none; d=google.com; s=arc-20160816; b=1Ku62m/uW+Xt/G5F43gIQKqMPXzx0nxtMroI1+dF2YOKd6nnngI0M9HrfRy3Kseaot np15I+0t3MObeoZji5+zcr7wJtBZBzF6z7QtcdSSZh/n+MSsGite4HHOkJXsBkKI5ckl BJS4BlpRgDVV5qB7C2dN4BAPN79P1yQFkuCQg6GYDqXQ+Ypv4FgtiH4oIRVzskElYkKQ DxPtLbGa1Cti4M6rXApa8h4nFteY+523qYdANt62Ff6xzv8x9gx7qNjfWTMFX/lvh7vy brYWWZU+ceJezNKUU6tB7VIVVq336FrE4tOCS+jE5V7s2plv88cF+/BGKQ1927lLrA1Q dnAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=2Qu9Ij7FMoFqM2n567jGnojRGUG8nYGkCL/zmDBX5qA=; b=QnHxE/1GUDZeSZqICI8Tdtj1kuUcqzjJiGq7JuHsyhkZb63/qWGaT29fcQmaNbkqOl /emTKFHoZbq162zZnJqeC801fsfzXsqgYbic5KSMHij2DeBa17JCY4Gr1PrbC8/jNPkS pdxXXpYJXp9VcYrf8NuWGIslCqvtX77pJ1upuxLbhiQvYvoAX/kcI5lnejtLLGRXzlRU r8FOCJ3fMjQMR09uXWQNt5sbrLYbYW81L/pSGFW7NcVIrIZWUJM+0U/6kW33JbKU8wtk blBuSm/0ECSO+CXaUJp/ARBaPjvjQI56zmJhm2aqsu8Z/0uG4UGpJ8Xu8uGQv2xLDIYz YQZw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning gregkh@linuxfoundation.org does not designate 90.92.71.90 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning gregkh@linuxfoundation.org does not designate 90.92.71.90 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chen-Yu Tsai , =?UTF-8?q?Stefan=20Br=C3=BCns?= , Maxime Ripard Subject: [PATCH 4.14 20/38] sunxi-rsb: Include OF based modalias in device uevent Date: Mon, 8 Jan 2018 13:59:13 +0100 Message-Id: <20180108125917.246848220@linuxfoundation.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180108125915.951963528@linuxfoundation.org> References: <20180108125915.951963528@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-LABELS: =?utf-8?b?IlxcU2VudCI=?= X-GMAIL-THRID: =?utf-8?q?1589029277354025592?= X-GMAIL-MSGID: =?utf-8?q?1589029277354025592?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Stefan Brüns commit e2bf801ecd4e62222a46d1ba9e57e710171d29c1 upstream. Include the OF-based modalias in the uevent sent when registering devices on the sunxi RSB bus, so that user space has a chance to autoload the kernel module for the device. Fixes a regression caused by commit 3f241bfa60bd ("arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0"). When the axp20x-rsb module for the AXP803 PMIC is built as a module, it is not loaded and the system ends up with an disfunctional MMC controller. Fixes: d787dcdb9c8f ("bus: sunxi-rsb: Add driver for Allwinner Reduced Serial Bus") Acked-by: Chen-Yu Tsai Signed-off-by: Stefan Brüns Signed-off-by: Maxime Ripard Signed-off-by: Greg Kroah-Hartman --- drivers/bus/sunxi-rsb.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/bus/sunxi-rsb.c +++ b/drivers/bus/sunxi-rsb.c @@ -178,6 +178,7 @@ static struct bus_type sunxi_rsb_bus = { .match = sunxi_rsb_device_match, .probe = sunxi_rsb_device_probe, .remove = sunxi_rsb_device_remove, + .uevent = of_device_uevent_modalias, }; static void sunxi_rsb_dev_release(struct device *dev)