From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: ACJfBouLLO2P1sKdOHHk/wu/wdw0fWLEDOvsACFcOPO0w2RPTxBAIKsmRhrvoXLRM0vGo0k5Rut7 ARC-Seal: i=1; a=rsa-sha256; t=1515416544; cv=none; d=google.com; s=arc-20160816; b=fCRxs8nNImUoZx9Gg6RfG91w90+nhwC0tCb7zzRGmqtuSOstRbdpUKsHckjIYaU32R bYZL4H2f2wsDv0xO6iPdYLyGbFZ5MMKJYyv8H7Q/SJLYnCYHPsH4vc7DWMEY1TZxPKX1 ZzY01Kc5pvZxWRnK6Oeo2g+v/VJZ/PQnf2tkVD8JBLzqOUrg+I5pYXAI+CbCZ4/lhGCd mVIo6fwcTnWC0qugy3EN/Xm2cZwQ1A/OCXWrK6fDxzspCfZOCMwPD8SFxtS1HBbAKc82 XvZ2sJya3bJ4nEEtkgXkz4BnRCJZXX9sRdR1U75+8Rtak1OWG8oXx1Y6rTceJJK3C9wi R/NA== 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=hI44Qrcom+JWjHoBRgrammR6xucEen437HqB8hvrof0=; b=LTo0kudnOIiwEVo0GtT9Pu6qlLAsOo7UqVoMjbBrbOlRm9pXTQgya1wIt94jDC3mDS bbf7oxcjW9mNGXC7BaJM+ZUeg1Pfei1drDIsfFgqv8hZC27Gbdj374BtxZ81K43pHB2j 8+/KseNrMe6ZCPTUJ7B1Vi3yDU6sHHkZ0aOm+f8jhTKOd5YGDty8UGZCoH7g92YfUz4w les+PHvCLXvGI4OOu/6T41pxAiHiBNI8rOuOUoRilIDlKPQt1XvmlI3ljqMpyx0DtCxT uRsiHZ4KjT6wvgJoJLWc+sjtyJiI+2VP3FhFhO5vVacwFF1zlY6UN7AlFQr4Ku1Qd5vy 0Z3Q== 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.9 05/21] sunxi-rsb: Include OF based modalias in device uevent Date: Mon, 8 Jan 2018 13:59:25 +0100 Message-Id: <20180108125920.351857566@linuxfoundation.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180108125920.106264989@linuxfoundation.org> References: <20180108125920.106264989@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?1589029418488695198?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 4.9-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)