From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: ACJfBosMC1Rx3R4rPoal64Kh5XuywHQuM5SggxEPljVSVo9ALsb6ruOs2hvwbRVZOYohFp4XKhRk ARC-Seal: i=1; a=rsa-sha256; t=1515416609; cv=none; d=google.com; s=arc-20160816; b=yTV943T6jZp822Z4ZLWWXcwIem/Xe6h2JYSfjPX4XLJTip00QABJtRRnpYgpnK4yOz 6WNI8Sn+x1okkNNKQlMAEeXagcQaGPrEsCdgLL+Nraa9m2p42oJDN8bmZ5VDF6OoGx/o 3GX0YhEzDdBwG2mWCIE+iarZXQ30VdKUy28MP9BvEbyomaoqBXZTp5KfsDdnMInaerXG VLrA+luoJrFtLoviV1rtPXqq0HaD87t6+NRPBD7n6QMOHnHk2Q1h9x23EozgPUEkCiRH U3ff1hsobUv/vRszXROFj8FZbj0q91JYLrkw9ESTyBThSqUSxjQfJcov7yBtMusTQ7JS XkVg== 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=ByPztfwfotj5OY6YkTZYjAGLkjxmcolj28awpPEe9OY=; b=KJM30KSTrhKPUmVVtGPZPQqQ6qPbo4C3zO7rOfo7XSSoYAgnfbLxsIbuEi5EyecJAt O/tD58S9v9ufgOvqU+ggnBOt11lWdhKXT8EQ8FpRQHFq/3ylSNlPolhJjcVJfz2z0ben zDBLntDZ+md0CX5eVu25YncHqyoAAqTNqZvFwIzxPHL7Wr/Xazr7nZQgFOz0vVT486zE ohsAxETMRGtmFc7Lri6hAnkGRepwh8PyK6FsRYnx8tkQ4HKeMZX5QKp4+mSarIStcG8A vvQERKvZTiHGdjFaSlzc+7Ow3XcSGZkWt7Rdn+doLK8d9B2J4ocM+JtpkmxdAdHEpTRY ZNvA== 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.4 06/22] sunxi-rsb: Include OF based modalias in device uevent Date: Mon, 8 Jan 2018 13:59:33 +0100 Message-Id: <20180108125925.873595293@linuxfoundation.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180108125925.601688333@linuxfoundation.org> References: <20180108125925.601688333@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?1589029487315596578?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 4.4-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)