mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-17 12:21:23 +00:00
Tinker S reboot fix fix refix
This commit is contained in:
parent
5a6da62a63
commit
add26561dc
1 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,16 @@
|
|||
diff --git a/drivers/mmc/host/dw_mmc-rockchip.c b/drivers/mmc/host/dw_mmc-rockchip.c
|
||||
index 3fc65f4..274ddba 100644
|
||||
--- a/drivers/mmc/host/dw_mmc-rockchip.c
|
||||
+++ b/drivers/mmc/host/dw_mmc-rockchip.c
|
||||
@@ -291,7 +291,7 @@ static int dw_mci_rockchip_probe(struct platform_device *pdev)
|
||||
static void dw_mci_rockchip_platfm_shutdown(struct platform_device *pdev)
|
||||
{
|
||||
struct dw_mci *host = platform_get_drvdata(pdev);
|
||||
- struct mmc_host *mmc = host->cur_slot->mmc;
|
||||
+ struct mmc_host *mmc = host->slot[0]->mmc;
|
||||
int ret;
|
||||
|
||||
if(of_machine_is_compatible("rockchip,rk3288-miniarm")){
|
||||
diff --git a/arch/arm/boot/dts/rk3288-miniarm.dts b/arch/arm/boot/dts/rk3288-miniarm.dts
|
||||
index 5371310..e9c9eac 100644
|
||||
--- a/arch/arm/boot/dts/rk3288-miniarm.dts
|
||||
|
|
Loading…
Add table
Reference in a new issue