* [PATCH] Fixed cameCase check in file drivers/staging/sm750fb/ddk750_chip.c
@ 2017-05-22 10:57 Richa Jha
2017-05-22 11:51 ` Dan Carpenter
2017-05-22 12:23 ` Richa Jha
0 siblings, 2 replies; 4+ messages in thread
From: Richa Jha @ 2017-05-22 10:57 UTC (permalink / raw)
To: gregkh
Cc: sudipm.mukherjee, teddy.wang, linux-fbdev, devel, linux-kernel,
Richa Jha
Changes :
ulActualMxClk ---> ul_actual_max_clk
p_init_param ---> pInitParam
Signed-off-by: Richa Jha <richaj@cdac.in>
---
drivers/staging/sm750fb/ddk750_chip.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index 4f646f2..00bca17 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -55,7 +55,7 @@ static unsigned int get_mxclk_freq(void)
static void set_chip_clock(unsigned int frequency)
{
struct pll_value pll;
- unsigned int ul_actual_max_Clk;
+ unsigned int ul_actual_max_clk;
/* Cheok_0509: For SM750LE, the chip clock is fixed. Nothing to set. */
if (sm750_get_chip_type() = SM750LE)
@@ -75,7 +75,7 @@ static void set_chip_clock(unsigned int frequency)
* Return value of sm750_calc_pll_value gives the actual
* possible clock.
*/
- ul_actual_max_Clk = sm750_calc_pll_value(frequency, &pll);
+ ul_actual_max_clk = sm750_calc_pll_value(frequency, &pll);
/* Master Clock Control: MXCLK_PLL */
poke32(MXCLK_PLL_CTRL, sm750_format_pll_reg(&pll));
--
2.1.4
-------------------------------------------------------------------------------------------------------------------------------
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]
This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] Fixed cameCase check in file drivers/staging/sm750fb/ddk750_chip.c
2017-05-22 10:57 [PATCH] Fixed cameCase check in file drivers/staging/sm750fb/ddk750_chip.c Richa Jha
@ 2017-05-22 11:51 ` Dan Carpenter
2017-05-22 12:23 ` Richa Jha
1 sibling, 0 replies; 4+ messages in thread
From: Dan Carpenter @ 2017-05-22 11:51 UTC (permalink / raw)
To: Richa Jha
Cc: gregkh, devel, linux-fbdev, teddy.wang, linux-kernel,
sudipm.mukherjee
On Mon, May 22, 2017 at 04:15:37PM +0530, Richa Jha wrote:
> Changes :
>
> ulActualMxClk ---> ul_actual_max_clk
> p_init_param ---> pInitParam
It doesn't touch p_init_param.
> -------------------------------------------------------------------------------------------------------------------------------
> [ C-DAC is on Social-Media too. Kindly follow us at:
> Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]
>
> This e-mail is for the sole use of the intended recipient(s) and may
> contain confidential and privileged information. If you are not the
> intended recipient, please contact the sender by reply e-mail and destroy
> all copies and the original message. Any unauthorized review, use,
> disclosure, dissemination, forwarding, printing or copying of this email
> is strictly prohibited and appropriate legal action will be taken.
> -------------------------------------------------------------------------------------------------------------------------------
These non-disclosure things aren't allowed.
regards,
dan carpenter
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] Fixed cameCase check in file drivers/staging/sm750fb/ddk750_chip.c
2017-05-22 10:57 [PATCH] Fixed cameCase check in file drivers/staging/sm750fb/ddk750_chip.c Richa Jha
2017-05-22 11:51 ` Dan Carpenter
@ 2017-05-22 12:23 ` Richa Jha
2017-05-22 13:41 ` Greg KH
1 sibling, 1 reply; 4+ messages in thread
From: Richa Jha @ 2017-05-22 12:23 UTC (permalink / raw)
To: gregkh
Cc: sudipm.mukherjee, teddy.wang, linux-fbdev, devel, linux-kernel,
Richa Jha
Changes :
ulActualMxClk ---> ul_actual_max_clk
pInitParam ---> p_init_param
Signed-off-by: Richa Jha <richaj@cdac.in>
---
drivers/staging/sm750fb/ddk750_chip.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index 7b1180a..00bca17 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -55,7 +55,7 @@ static unsigned int get_mxclk_freq(void)
static void set_chip_clock(unsigned int frequency)
{
struct pll_value pll;
- unsigned int ulActualMxClk;
+ unsigned int ul_actual_max_clk;
/* Cheok_0509: For SM750LE, the chip clock is fixed. Nothing to set. */
if (sm750_get_chip_type() = SM750LE)
@@ -75,7 +75,7 @@ static void set_chip_clock(unsigned int frequency)
* Return value of sm750_calc_pll_value gives the actual
* possible clock.
*/
- ulActualMxClk = sm750_calc_pll_value(frequency, &pll);
+ ul_actual_max_clk = sm750_calc_pll_value(frequency, &pll);
/* Master Clock Control: MXCLK_PLL */
poke32(MXCLK_PLL_CTRL, sm750_format_pll_reg(&pll));
@@ -210,11 +210,11 @@ unsigned int ddk750_get_vm_size(void)
return data;
}
-int ddk750_init_hw(struct initchip_param *pInitParam)
+int ddk750_init_hw(struct initchip_param *p_init_param)
{
unsigned int reg;
- if (pInitParam->powerMode != 0)
+ if (p_init_param->powerMode != 0)
p_init_param->powerMode = 0;
sm750_set_power_mode(p_init_param->powerMode);
@@ -237,13 +237,13 @@ int ddk750_init_hw(struct initchip_param *pInitParam)
}
/* Set the Main Chip Clock */
- set_chip_clock(MHz((unsigned int)pInitParam->chipClock));
+ set_chip_clock(MHz((unsigned int)p_init_param->chipClock));
/* Set up memory clock. */
- set_memory_clock(MHz(pInitParam->memClock));
+ set_memory_clock(MHz(p_init_param->memClock));
/* Set up master clock */
- set_master_clock(MHz(pInitParam->masterClock));
+ set_master_clock(MHz(p_init_param->masterClock));
/*
* Reset the memory controller.
@@ -251,7 +251,7 @@ int ddk750_init_hw(struct initchip_param *pInitParam)
* the system might hang when sw accesses the memory.
* The memory should be resetted after changing the MXCLK.
*/
- if (pInitParam->resetMemory = 1) {
+ if (p_init_param->resetMemory = 1) {
reg = peek32(MISC_CTRL);
reg &= ~MISC_CTRL_LOCALMEM_RESET;
poke32(MISC_CTRL, reg);
@@ -260,7 +260,7 @@ int ddk750_init_hw(struct initchip_param *pInitParam)
poke32(MISC_CTRL, reg);
}
- if (pInitParam->setAllEngOff = 1) {
+ if (p_init_param->setAllEngOff = 1) {
sm750_enable_2d_engine(0);
/* Disable Overlay, if a former application left it on */
--
2.1.4
-------------------------------------------------------------------------------------------------------------------------------
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]
This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] Fixed cameCase check in file drivers/staging/sm750fb/ddk750_chip.c
2017-05-22 12:23 ` Richa Jha
@ 2017-05-22 13:41 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2017-05-22 13:41 UTC (permalink / raw)
To: Richa Jha; +Cc: devel, linux-fbdev, teddy.wang, linux-kernel, sudipm.mukherjee
On Mon, May 22, 2017 at 05:41:31PM +0530, Richa Jha wrote:
> Changes :
>
> ulActualMxClk ---> ul_actual_max_clk
> pInitParam ---> p_init_param
I can see that from the patch, but _why_ are you doing this?
And please fix up your subject to match others for this driver, you can
find that in 'git log FILENAME'
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-05-22 13:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-22 10:57 [PATCH] Fixed cameCase check in file drivers/staging/sm750fb/ddk750_chip.c Richa Jha
2017-05-22 11:51 ` Dan Carpenter
2017-05-22 12:23 ` Richa Jha
2017-05-22 13:41 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox