OMAP: MMC: Add several missing line breaks
Subsystems (2)
PATCH 1/1 OMAP: MMC: Add several missing line breaks
Misc clean up in omap_hsmmc.c to beautify debugging output.
--- drivers/mmc/host/omap_hsmmc.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-)
drivers/mmc/host/omap_hsmmc.c +8 -8
@@ -146,7 +146,7 @@ static void omap_mmc_stop_clock(struct mmc_omap_host *host)OMAP_HSMMC_WRITE (host->base,SYSCTL ,OMAP_HSMMC_READ (host->base,SYSCTL ) & ~CEN );if ((OMAP_HSMMC_READ (host->base,SYSCTL ) &CEN ) !=0x0 ) -dev_dbg (mmc_dev (host->mmc),"MMC Clock is not stoped" ); +dev_dbg (mmc_dev (host->mmc),"MMC Clock is not stoped\n" ); }/*
@@ -401,7 +401,7 @@ static int omap_mmc_switch_opcond(struct mmc_omap_host *host, int vdd)return 0 ; err: -dev_dbg (mmc_dev (host->mmc),"Unable to switch operating voltage \n" ); +dev_dbg (mmc_dev (host->mmc),"Unable to switch operating voltage\n" );return ret; }
@@ -763,11 +763,11 @@ static int __init omap_mmc_probe(struct platform_device *pdev)* MMC can still work without debounce clock. */ if (IS_ERR (host->dbclk)) -dev_dbg (mmc_dev (host->mmc),"Failed to get debounce clock \n" ); +dev_dbg (mmc_dev (host->mmc),"Failed to get debounce clock\n" );else if (clk_enable (host->dbclk) !=0 )dev_dbg (mmc_dev (host->mmc),"Enabling debounce" -"clk failed\n" ); +" clk failed\n" );else host->dbclk_enabled =1 ;
@@ -796,7 +796,7 @@ static int __init omap_mmc_probe(struct platform_device *pdev) ret =request_irq (host->irq, mmc_omap_irq,IRQF_DISABLED , pdev->name, host);if (ret) { -dev_dbg (mmc_dev (host->mmc),"Unable to grab HSMMC IRQ" ); +dev_dbg (mmc_dev (host->mmc),"Unable to grab HSMMC IRQ\n" ); goto irq_err; }
@@ -807,7 +807,7 @@ static int __init omap_mmc_probe(struct platform_device *pdev) host);if (ret) {dev_dbg (mmc_dev (host->mmc), -"Unable to grab MMC CD IRQ" ); +"Unable to grab MMC CD IRQ\n" , ret);free_irq (host->irq, host); goto irq_err; }
@@ -837,7 +837,7 @@ err:return ret; irq_err: -dev_dbg (mmc_dev (host->mmc),"Unable to configure MMC IRQs" ); +dev_dbg (mmc_dev (host->mmc),"Unable to configure MMC IRQs\n" );clk_disable (host->fclk);clk_disable (host->iclk);clk_put (host->fclk);
@@ -900,7 +900,7 @@ static int omap_mmc_suspend(struct platform_device *pdev, pm_message_t state)if (ret)dev_dbg (mmc_dev (host->mmc),"Unable to handle MMC board" -"level suspend\n" ); +" level suspend\n" );if (!(OMAP_HSMMC_READ (host->base,HCTL ) &SDVSDET )) { OMAP_HSMMC_WRITE(host->base, HCTL,
Signature · 1 line
1.5.5.rc0.16.g02b00
Hi Balbi,
Here is a refreshed version of your patch.
Cheers,
Eduardo Valentin
PATCH 1/1 OMAP: MMC: Add several missing line breaks.
From: Felipe Balbi <[email protected]>
Misc clean up in omap_hsmmc.c to beautify debugging output.
--- drivers/mmc/host/omap_hsmmc.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-)
drivers/mmc/host/omap_hsmmc.c +7 -7
@@ -146,7 +146,7 @@ static void omap_mmc_stop_clock(struct mmc_omap_host *host)OMAP_HSMMC_WRITE (host->base,SYSCTL ,OMAP_HSMMC_READ (host->base,SYSCTL ) & ~CEN );if ((OMAP_HSMMC_READ (host->base,SYSCTL ) &CEN ) !=0x0 ) -dev_dbg (mmc_dev (host->mmc),"MMC Clock is not stoped" ); +dev_dbg (mmc_dev (host->mmc),"MMC Clock is not stoped\n" ); }/*
@@ -401,7 +401,7 @@ static int omap_mmc_switch_opcond(struct mmc_omap_host *host, int vdd)return 0 ; err: -dev_dbg (mmc_dev (host->mmc),"Unable to switch operating voltage \n" ); +dev_dbg (mmc_dev (host->mmc),"Unable to switch operating voltage\n" );return ret; }
@@ -760,11 +760,11 @@ static int __init omap_mmc_probe(struct platform_device *pdev)* MMC can still work without debounce clock. */ if (IS_ERR (host->dbclk)) -dev_dbg (mmc_dev (host->mmc),"Failed to get debounce clock \n" ); +dev_dbg (mmc_dev (host->mmc),"Failed to get debounce clock\n" );else if (clk_enable (host->dbclk) !=0 )dev_dbg (mmc_dev (host->mmc),"Enabling debounce" -"clk failed\n" ); +" clk failed\n" );else host->dbclk_enabled =1 ;
@@ -793,7 +793,7 @@ static int __init omap_mmc_probe(struct platform_device *pdev) ret =request_irq (host->irq, mmc_omap_irq,IRQF_DISABLED , pdev->name, host);if (ret) { -dev_dbg (mmc_dev (host->mmc),"Unable to grab HSMMC IRQ" ); +dev_dbg (mmc_dev (host->mmc),"Unable to grab HSMMC IRQ\n" ); goto irq_err; }
@@ -820,7 +820,7 @@ err:return ret; irq_err: -dev_dbg (mmc_dev (host->mmc),"Unable to configure MMC IRQs" ); +dev_dbg (mmc_dev (host->mmc),"Unable to configure MMC IRQs\n" );clk_disable (host->fclk);clk_disable (host->iclk);clk_put (host->fclk);
@@ -881,7 +881,7 @@ static int omap_mmc_suspend(struct platform_device *pdev, pm_message_t state)if (ret)dev_dbg (mmc_dev (host->mmc),"Unable to handle MMC board" -"level suspend\n" ); +" level suspend\n" );if (!(OMAP_HSMMC_READ (host->base,HCTL ) &SDVSDET )) { OMAP_HSMMC_WRITE(host->base, HCTL,
Signature · 1 line
1.5.4.2
Re: [PATCH] OMAP: MMC: Add several missing line breaks.
Quoted 5 lines · Eduardo Valentin
From: Felipe Balbi <[email protected]>
Misc clean up in
omap_hsmmc.cto beautify debugging output.Signed-off-by Felipe Balbi <[email protected]>
Here you should put what you changed just to ease the comparisson :-) But ok... thanks for checking it :-)
Quoted 75 lines
Signed-off-by Eduardo Valentin <[email protected]>--- drivers/mmc/host/omap_hsmmc.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-)drivers/mmc/host/omap_hsmmc.c +7
-7@@ -146,7 +146,7 @@ static void omap_mmc_stop_clock(struct mmc_omap_host *host)OMAP_HSMMC_WRITE (host->base,SYSCTL ,OMAP_HSMMC_READ (host->base,SYSCTL ) & ~CEN );if ((OMAP_HSMMC_READ (host->base,SYSCTL ) &CEN ) !=0x0 ) -dev_dbg (mmc_dev (host->mmc),"MMC Clock is not stoped" ); +dev_dbg (mmc_dev (host->mmc),"MMC Clock is not stoped\n" ); }/* @@ -401,7 +401,7 @@ static int omap_mmc_switch_opcond(struct mmc_omap_host *host, int vdd)return 0 ; err: -dev_dbg (mmc_dev (host->mmc),"Unable to switch operating voltage \n" ); +dev_dbg (mmc_dev (host->mmc),"Unable to switch operating voltage\n" );return ret; }@@ -760,11 +760,11 @@ static int __init omap_mmc_probe(struct platform_device *pdev)* MMC can still work without debounce clock. */ if (IS_ERR (host->dbclk)) -dev_dbg (mmc_dev (host->mmc),"Failed to get debounce clock \n" ); +dev_dbg (mmc_dev (host->mmc),"Failed to get debounce clock\n" );else if (clk_enable (host->dbclk) !=0 )dev_dbg (mmc_dev (host->mmc),"Enabling debounce" -"clk failed\n" ); +" clk failed\n" );else host->dbclk_enabled =1 ;@@ -793,7 +793,7 @@ static int __init omap_mmc_probe(struct platform_device *pdev) ret =request_irq (host->irq, mmc_omap_irq,IRQF_DISABLED , pdev->name, host);if (ret) { -dev_dbg (mmc_dev (host->mmc),"Unable to grab HSMMC IRQ" ); +dev_dbg (mmc_dev (host->mmc),"Unable to grab HSMMC IRQ\n" ); goto irq_err; }@@ -820,7 +820,7 @@ err:return ret; irq_err: -dev_dbg (mmc_dev (host->mmc),"Unable to configure MMC IRQs" ); +dev_dbg (mmc_dev (host->mmc),"Unable to configure MMC IRQs\n" );clk_disable (host->fclk);clk_disable (host->iclk);clk_put (host->fclk);@@ -881,7 +881,7 @@ static int omap_mmc_suspend(struct platform_device *pdev, pm_message_t state)if (ret)dev_dbg (mmc_dev (host->mmc),"Unable to handle MMC board" -"level suspend\n" ); +" level suspend\n" );if (!(OMAP_HSMMC_READ (host->base,HCTL ) &SDVSDET )) { OMAP_HSMMC_WRITE(host->base, HCTL,Signature · 6 lines
1.5.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 5 lines
Best Regards, Felipe Balbi [email protected] http://blog.felipebalbi.com
Re: [PATCH] OMAP: MMC: Add several missing line breaks.
Hi Balbi,
Quoted 8 lines · Felipe Balbi
Quoted 5 lines · Eduardo Valentin
From: Felipe Balbi <[email protected]>
Misc clean up in
omap_hsmmc.cto beautify debugging output.Signed-off-by Felipe Balbi <[email protected]>Here you should put what you changed just to ease the comparisson :-)
That's true. But the change was just to remove part of your patch that modified something that was already removed. And it still keeps adding missing line breaks :-).
Quoted 87 lines
But ok... thanks for checking it :-)
Quoted 71 lines
Signed-off-by Eduardo Valentin <[email protected]>--- drivers/mmc/host/omap_hsmmc.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-)drivers/mmc/host/omap_hsmmc.c +7
-8@@ -146,7 +146,7 @@ static void omap_mmc_stop_clock(struct mmc_omap_host *host)OMAP_HSMMC_WRITE (host->base,SYSCTL ,OMAP_HSMMC_READ (host->base,SYSCTL ) & ~CEN );if ((OMAP_HSMMC_READ (host->base,SYSCTL ) &CEN ) !=0x0 ) -dev_dbg (mmc_dev (host->mmc),"MMC Clock is not stoped" ); +dev_dbg (mmc_dev (host->mmc),"MMC Clock is not stoped\n" ); }/* @@ -401,7 +401,7 @@ static int omap_mmc_switch_opcond(struct mmc_omap_host *host, int vdd)return 0 ; err: -dev_dbg (mmc_dev (host->mmc),"Unable to switch operating voltage \n" ); +dev_dbg (mmc_dev (host->mmc),"Unable to switch operating voltage\n" );return ret; }@@ -760,11 +760,11 @@ static int __init omap_mmc_probe(struct platform_device *pdev)* MMC can still work without debounce clock. */ if (IS_ERR (host->dbclk)) -dev_dbg (mmc_dev (host->mmc),"Failed to get debounce clock \n" ); +dev_dbg (mmc_dev (host->mmc),"Failed to get debounce clock\n" );else if (clk_enable (host->dbclk) !=0 )dev_dbg (mmc_dev (host->mmc),"Enabling debounce" -"clk failed\n" ); +" clk failed\n" );else host->dbclk_enabled =1 ;@@ -793,7 +793,7 @@ static int __init omap_mmc_probe(struct platform_device *pdev) ret =request_irq (host->irq, mmc_omap_irq,IRQF_DISABLED , pdev->name, host);if (ret) { -dev_dbg (mmc_dev (host->mmc),"Unable to grab HSMMC IRQ" ); +dev_dbg (mmc_dev (host->mmc),"Unable to grab HSMMC IRQ\n" ); goto irq_err; }@@ -820,7 +820,7 @@ err:return ret; irq_err: -dev_dbg (mmc_dev (host->mmc),"Unable to configure MMC IRQs" ); +dev_dbg (mmc_dev (host->mmc),"Unable to configure MMC IRQs\n" );clk_disable (host->fclk);clk_disable (host->iclk);clk_put (host->fclk);@@ -881,7 +881,7 @@ static int omap_mmc_suspend(struct platform_device *pdev, pm_message_t state)if (ret)dev_dbg (mmc_dev (host->mmc),"Unable to handle MMC board" -"level suspend\n" ); +" level suspend\n" );if (!(OMAP_HSMMC_READ (host->base,HCTL ) &SDVSDET )) { OMAP_HSMMC_WRITE(host->base, HCTL, --1.5.4.2
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
Best Regards,Felipe Balbi
[email protected]
http://blog.felipebalbi.com
Signature · 1 line
Eduardo Bezerra Valentin
Re: [PATCH] OMAP: MMC: Add several missing line breaks.
Quoted 8 lines · Eduardo Valentin
Hi Balbi,
Quoted 5 lines · Felipe Balbi
Quoted 4 lines · Eduardo Valentin
From: Felipe Balbi <[email protected]>
Misc clean up in
omap_hsmmc.cto beautify debugging output.
Quoted 9 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Felipe Balbi <[email protected]>Here you should put what you changed just to ease the comparisson :-)
That's true. But the change was just to remove part of your patch that modified something that was already removed. And it still keeps adding missing line breaks :-).
Quoted 1 line
But ok... thanks for checking it :-)
Pushing today.
Tony
Quoted 95 lines
Quoted 86 lines
Quoted 74 lines
Signed-off-by Eduardo Valentin <[email protected]>--- drivers/mmc/host/omap_hsmmc.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-)drivers/mmc/host/omap_hsmmc.c +7
-8@@ -146,7 +146,7 @@ static void omap_mmc_stop_clock(struct mmc_omap_host *host)OMAP_HSMMC_WRITE (host->base,SYSCTL ,OMAP_HSMMC_READ (host->base,SYSCTL ) & ~CEN );if ((OMAP_HSMMC_READ (host->base,SYSCTL ) &CEN ) !=0x0 ) -dev_dbg (mmc_dev (host->mmc),"MMC Clock is not stoped" ); +dev_dbg (mmc_dev (host->mmc),"MMC Clock is not stoped\n" ); }/* @@ -401,7 +401,7 @@ static int omap_mmc_switch_opcond(struct mmc_omap_host *host, int vdd)return 0 ; err: -dev_dbg (mmc_dev (host->mmc),"Unable to switch operating voltage \n" ); +dev_dbg (mmc_dev (host->mmc),"Unable to switch operating voltage\n" );return ret; }@@ -760,11 +760,11 @@ static int __init omap_mmc_probe(struct platform_device *pdev)* MMC can still work without debounce clock. */ if (IS_ERR (host->dbclk)) -dev_dbg (mmc_dev (host->mmc),"Failed to get debounce clock \n" ); +dev_dbg (mmc_dev (host->mmc),"Failed to get debounce clock\n" );else if (clk_enable (host->dbclk) !=0 )dev_dbg (mmc_dev (host->mmc),"Enabling debounce" -"clk failed\n" ); +" clk failed\n" );else host->dbclk_enabled =1 ;@@ -793,7 +793,7 @@ static int __init omap_mmc_probe(struct platform_device *pdev) ret =request_irq (host->irq, mmc_omap_irq,IRQF_DISABLED , pdev->name, host);if (ret) { -dev_dbg (mmc_dev (host->mmc),"Unable to grab HSMMC IRQ" ); +dev_dbg (mmc_dev (host->mmc),"Unable to grab HSMMC IRQ\n" ); goto irq_err; }@@ -820,7 +820,7 @@ err:return ret; irq_err: -dev_dbg (mmc_dev (host->mmc),"Unable to configure MMC IRQs" ); +dev_dbg (mmc_dev (host->mmc),"Unable to configure MMC IRQs\n" );clk_disable (host->fclk);clk_disable (host->iclk);clk_put (host->fclk);@@ -881,7 +881,7 @@ static int omap_mmc_suspend(struct platform_device *pdev, pm_message_t state)if (ret)dev_dbg (mmc_dev (host->mmc),"Unable to handle MMC board" -"level suspend\n" ); +" level suspend\n" );if (!(OMAP_HSMMC_READ (host->base,HCTL ) &SDVSDET )) { OMAP_HSMMC_WRITE(host->base, HCTL, --1.5.4.2
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
Best Regards,Felipe Balbi
[email protected]
http://blog.felipebalbi.comSignature · 5 lines
Eduardo Bezerra Valentin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html