Remove the hard coded 32 bits width and replace with the correct width
calculated by params_width.
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 47 ++
sound/soc/codecs/cs42l42.h | 1
Removing cs42l42_hpdrv_evt that enables the entire chain and replace by
a set of widgets that can better define the codec
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 65 +-
sound/soc
Add support for reading the source clock from snd_soc_params_to_bclk
so the machine driver is not required to call cs42l42_set_sysclk
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 17 +
sound/soc/codecs
Add support for capture path on headseat pins
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 39 ++
sound/soc/codecs/cs42l42.h | 12
2 files changed, 51 insertions(+)
diff
The minimum value is 0x3f (-63dB), which also is mute
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs
Move the enable/disable of clocks to cs42l42_mute_stream so the record
path also get clocks.
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- Add missing cs42l42_private struct pointer
sound/soc/codecs/cs42l42.c | 86 +-
sound
dev_pm_ops already enable/disable the codec if not in use
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 38 --
1 file changed, 38 deletions(-)
diff --git a/sound/soc/codecs/cs42l42.c b
In case of cs42l42_i2c_probe() fail, the regulators were left enabled.
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/sound/soc/codecs/cs42l42.c
Ensure the power supplies are turned off when removing the driver
Signed-off-by: Lucas Tanure
---
Changes in v3:
- Free IRQ before pm_suspend
Changes in v2:
- Use PM functions to shutdown the codec
- Disable IRQ before pm_suspend
sound/soc/codecs/cs42l42.c | 6 --
1 file changed, 4
This delay is part of the power-up sequence defined in the datasheet.
A runtime_resume is a power-up so must also include the delay.
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 3 ++-
sound/soc/codecs/cs42l42.h | 1 +
2
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- struct cs42l42_private add by this patch was wrong and moved to the
correct patch
- Lucas signed-off added
sound/soc/codecs/cs42l42.c | 27 ++-
sound/soc/codecs/cs42l42.h | 1 +
2 files changed
From: Richard Fitzgerald
The PLL is only needed for sclk < 11289600 Hz and cs42l42_pll_config()
will not configure it for higher rates. So it must only be enabled
when it is needed.
Signed-off-by: Richard Fitzgerald
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in
From: Richard Fitzgerald
The PLL should have locked before using it to supply MCLK.
Signed-off-by: Richard Fitzgerald
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- Lucas signed-off added
sound/soc/codecs/cs42l42.c | 12 +++-
sound/soc/codecs/cs42l42.h
Report the Jack events to the user space through ALSA.
Also moves request_threaded_irq() to component_probe so it don't get
interrupts before the initialization the struct snd_soc_jack.
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- Don't move the code around
Hi All,
Here is a patch series for reporting to user space jack and button events and
add the support for Capture. With some cleanups and fixes along the way.
Regards,
Lucas Tanure
Lucas Tanure (12):
ASoC: cs42l42: Fix Bitclock polarity inversion
ASoC: cs42l42: Fix channel width support
The driver was setting bit clock polarity opposite to intended polarity.
Also simplify the code by grouping ADC and DAC clock configurations into
a single field.
Signed-off-by: Lucas Tanure
---
Changes in v3:
- No changes
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 20
In case of cs42l42_i2c_probe() fail, the regulators were left enabled.
Signed-off-by: Lucas Tanure
---
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c
Hi All,
Here is a patch series for reporting to user space jack and button events and
add the support for Capture. With some cleanups and fixes along the way.
Regards,
Lucas Tanure
Lucas Tanure (12):
ASoC: cs42l42: Fix Bitclock polarity inversion
ASoC: cs42l42: Fix channel width support
Signed-off-by: Lucas Tanure
---
Changes in v2:
- struct cs42l42_private add by this patch was wrong and moved to the
correct patch
- Lucas signed-off added
sound/soc/codecs/cs42l42.c | 27 ++-
sound/soc/codecs/cs42l42.h | 1 +
2 files changed, 23 insertions(+), 5 deletions
The driver was setting bit clock polarity opposite to intended polarity.
Also simplify the code by grouping ADC and DAC clock configurations into
a single field.
Signed-off-by: Lucas Tanure
---
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 20
sound/soc/codecs
Report the Jack events to the user space through ALSA.
Also moves request_threaded_irq() to component_probe so it don't get
interrupts before the initialization the struct snd_soc_jack.
Signed-off-by: Lucas Tanure
---
Changes in v2:
- Don't move the code around
- Removed rename component
Move the enable/disable of clocks to cs42l42_mute_stream so the record
path also get clocks.
Signed-off-by: Lucas Tanure
---
Changes in v2:
- Add missing cs42l42_private struct pointer
sound/soc/codecs/cs42l42.c | 86 +-
sound/soc/codecs/cs42l42.h | 1 +
2
Removing cs42l42_hpdrv_evt that enables the entire chain and replace by
a set of widgets that can better define the codec
Signed-off-by: Lucas Tanure
---
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 65 +-
sound/soc/codecs/cs42l42.h | 8 ++---
2
dev_pm_ops already enable/disable the codec if not in use
Signed-off-by: Lucas Tanure
---
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 38 --
1 file changed, 38 deletions(-)
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c
Add support for capture path on headseat pins
Signed-off-by: Lucas Tanure
---
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 39 ++
sound/soc/codecs/cs42l42.h | 12
2 files changed, 51 insertions(+)
diff --git a/sound/soc/codecs
From: Richard Fitzgerald
The PLL should have locked before using it to supply MCLK.
Signed-off-by: Richard Fitzgerald
Signed-off-by: Lucas Tanure
---
Changes in v2:
- Lucas signed-off added
sound/soc/codecs/cs42l42.c | 12 +++-
sound/soc/codecs/cs42l42.h | 2 ++
2 files changed, 13
Add support for reading the source clock from snd_soc_params_to_bclk
so the machine driver is not required to call cs42l42_set_sysclk
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 17 +
sound/soc/codecs/cs42l42.h | 1 +
2 files changed, 14 insertions(+), 4
This delay is part of the power-up sequence defined in the datasheet.
A runtime_resume is a power-up so must also include the delay.
Signed-off-by: Lucas Tanure
---
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 3 ++-
sound/soc/codecs/cs42l42.h | 1 +
2 files changed, 3 insertions
From: Richard Fitzgerald
The PLL is only needed for sclk < 11289600 Hz and cs42l42_pll_config()
will not configure it for higher rates. So it must only be enabled
when it is needed.
Signed-off-by: Richard Fitzgerald
Signed-off-by: Lucas Tanure
---
Changes in v2:
- Lucas signed-off ad
Ensure the power supplies are turned off when removing the driver
Signed-off-by: Lucas Tanure
---
Changes in v2:
- Use PM functions to shutdown the codec
- Disable IRQ before pm_suspend
sound/soc/codecs/cs42l42.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sound
The minimum value is 0x3f (-63dB), which also is mute
Signed-off-by: Lucas Tanure
---
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c
index 4f9ad95479292
Remove the hard coded 32 bits width and replace with the correct width
calculated by params_width.
Signed-off-by: Lucas Tanure
---
Changes in v2:
- No changes
sound/soc/codecs/cs42l42.c | 47 ++
sound/soc/codecs/cs42l42.h | 1 -
2 files changed, 22
From: Richard Fitzgerald
There must be a delay of at least 150us after writing SCLK_PRESENT
before issuing another I2C write.
This is done using struct reg_sequence because it can specify a delay
after the write and the whole sequence is written atomically.
Signed-off-by: Richard Fitzgerald
In case of cs42l42_i2c_probe() fail, the regulators were left enabled.
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c
index 00e303c711ddc
From: Richard Fitzgerald
The PLL should have locked before using it to supply MCLK.
Signed-off-by: Richard Fitzgerald
---
sound/soc/codecs/cs42l42.c | 12 +++-
sound/soc/codecs/cs42l42.h | 2 ++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/sound/soc/codecs/cs42l42.c
Add support for capture path on headseat pins
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 39 ++
sound/soc/codecs/cs42l42.h | 12
2 files changed, 51 insertions(+)
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs
Move the enable/disable of clocks to cs42l42_mute_stream so the record
path also get clocks.
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 85 +-
sound/soc/codecs/cs42l42.h | 1 +
2 files changed, 48 insertions(+), 38 deletions(-)
diff --git
From: Richard Fitzgerald
The PLL is only needed for sclk < 11289600 Hz and cs42l42_pll_config()
will not configure it for higher rates. So it must only be enabled
when it is needed.
Signed-off-by: Richard Fitzgerald
---
sound/soc/codecs/cs42l42.c | 5 +++--
1 file changed, 3 insertions(+), 2
Remove the hard coded 32 bits width and replace with the correct width
calculated by params_width.
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 47 ++
sound/soc/codecs/cs42l42.h | 1 -
2 files changed, 22 insertions(+), 26 deletions(-)
diff
Add support for reading the source clock from snd_soc_params_to_bclk
so the machine driver is not required to call cs42l42_set_sysclk
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 17 +
sound/soc/codecs/cs42l42.h | 1 +
2 files changed, 14 insertions(+), 4
Report the Jack events to the user space through ALSA.
Also moves request_threaded_irq() to component_probe so it don't get
interrupts before the initialization the struct snd_soc_jack.
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 142 +
sound
Removing cs42l42_hpdrv_evt that enables the entire chain and replace by
a set of widgets that can better define the codec
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 65 +-
sound/soc/codecs/cs42l42.h | 8 ++---
2 files changed, 26 insertions
Ensure the power supplies are turned off when removing the driver
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c
index 2a25a30f842b1..00e303c711ddc 100644
--- a/sound/soc
The minimum value is 0x3f (-63dB), which also is mute
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c
index 96f4e98ceaa0b..39f742a83cd2c 100644
--- a/sound
This delay is part of the power-up sequence defined in the datasheet.
A runtime_resume is a power-up so must also include the delay.
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 3 ++-
sound/soc/codecs/cs42l42.h | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git
The driver was setting bit clock polarity opposite to intended polarity.
Also simplify the code by grouping ADC and DAC clock configurations into
a single field.
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 20
sound/soc/codecs/cs42l42.h | 11 ++-
2
dev_pm_ops already enable/disable the codec if not in use
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/cs42l42.c | 38 --
1 file changed, 38 deletions(-)
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c
index 210fcbedf2413
Hi All,
Here is a patch series for reporting to user space jack and button events and
add the support for Capture. With some cleanups and fixes along the way.
Regards,
Lucas Tanure
Lucas Tanure (12):
ASoC: cs42l42: Don't enable/disable regulator at Bias Level
ASoC: cs42l42: Always wait
kfree don't need to be called after a failed kzalloc
Signed-off-by: Lucas Tanure
---
Follow up patch from "USB: apple-mfi-fastcharge: Use devm_kzalloc and
simplify the code"
drivers/usb/misc/apple-mfi-fastcharge.c | 15 ---
1 file changed, 4 insertions(+), 11 deletion
On Sat, Nov 14, 2020 at 3:03 PM Greg Kroah-Hartman
wrote:
>
> On Sat, Nov 14, 2020 at 02:17:48PM +, Lucas Tanure wrote:
> > On Sat, Nov 14, 2020 at 12:56 PM Greg Kroah-Hartman
> > wrote:
> > >
> > > On Sat, Nov 14, 2020 at 12:42:49PM +, Lucas Tanure
On Sat, Nov 14, 2020 at 12:56 PM Greg Kroah-Hartman
wrote:
>
> On Sat, Nov 14, 2020 at 12:42:49PM +, Lucas Tanure wrote:
> > Signed-off-by: Lucas Tanure
>
> I can't take patches without any changelog text, sorry.
>
> > ---
> > drivers/usb
Signed-off-by: Lucas Tanure
---
drivers/usb/misc/apple-mfi-fastcharge.c | 17 +
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/drivers/usb/misc/apple-mfi-fastcharge.c
b/drivers/usb/misc/apple-mfi-fastcharge.c
index 9de0171b5177..de86e389a008 100644
--- a/drivers
_regmap_write can trigger a _regmap_select_page, which will call
another _regmap_write that will be executed first, but the log shows
the inverse order
Also, keep consistency with _regmap_read which only logs in case of
success
Signed-off-by: Lucas Tanure
---
drivers/base/regmap/regmap.c | 11
Hi Lee,
Can you help me with this question?
Thanks
Lucas
On Mon, Aug 5, 2019 at 2:43 PM Lucas Tanure wrote:
>
> Hi,
>
> I would like to understand mfd_add_devices call and platform_data section.
> An mfd device can have platform_data, which is kmemdup at
> platform_de
Hi,
I would like to understand mfd_add_devices call and platform_data section.
An mfd device can have platform_data, which is kmemdup at
platform_device_add_data from platform_device_add_data call inside
mfd_add_device. And after this kmemdup the new mfd device receives the
clone memory and the
Improve the speed of the loop jumping to the next
available register
Signed-off-by: Lucas Tanure
---
drivers/base/regmap/regmap-debugfs.c | 27 ---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/drivers/base/regmap/regmap-debugfs.c
b/drivers/base/regmap
Signed-off-by: Lucas Tanure
---
drivers/base/regmap/regmap-debugfs.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/base/regmap/regmap-debugfs.c
b/drivers/base/regmap/regmap-debugfs.c
index 6d3dc1429ae57..9b3f49ffc4a5f 100644
--- a/drivers/base/regmap/regmap
On Sat, Jan 30, 2016 at 4:26 PM, Joe Perches wrote:
> On Sat, 2016-01-30 at 09:51 -0800, Eric Dumazet wrote:
>> On Sat, 2016-01-30 at 12:05 -0200, Lucas Tanure wrote:
>> > On Sat, Jan 30, 2016 at 11:45 AM, Patrick McHardy wrote:
>> > > On 30.01, Lucas Tanur
On Sat, Jan 30, 2016 at 11:45 AM, Patrick McHardy wrote:
> On 30.01, Lucas Tanure wrote:
>> As suggested by checkpatch.pl:
>> CHECK: Prefer kernel type 'uX' over 'uintX_t'
>
> You might have noticed we have literally hundreds of them spread over 100
> files in the netfilt
change made to resolve following checkpatch message:
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
Signed-off-by: Lucas Tanure
---
net/ipv4/netfilter/ip_tables.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/ipv4/netfilter
Fix the checkpatch.pl issues:
CHECK: spaces preferred around that '&' (ctx:VxV)
CHECK: spaces preferred around that '<<' (ctx:VxV)
CHECK: spaces preferred around that '-' (ctx:VxV)
CHECK: spaces preferred around that '+' (ctx:VxV)
Signed-off-by: Lucas Tanure
---
net/ipv4/netfilter/i
As suggested by checkpatch.pl:
CHECK: Prefer kernel type 'uX' over 'uintX_t'
Signed-off-by: Lucas Tanure
---
net/ipv4/netfilter/ip_tables.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index 79d4a04
Fix checkpatch warning
WARNING: Use #include instead of
Signed-off-by: Lucas Tanure
---
net/ipv4/netfilter/ip_tables.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index b99affa..aa0e41e 100644
--- a/net
On Sat, Jan 30, 2016 at 4:26 PM, Joe Perches <j...@perches.com> wrote:
> On Sat, 2016-01-30 at 09:51 -0800, Eric Dumazet wrote:
>> On Sat, 2016-01-30 at 12:05 -0200, Lucas Tanure wrote:
>> > On Sat, Jan 30, 2016 at 11:45 AM, Patrick McHardy <ka...@trash.net> wrote:
On Sat, Jan 30, 2016 at 11:45 AM, Patrick McHardy <ka...@trash.net> wrote:
> On 30.01, Lucas Tanure wrote:
>> As suggested by checkpatch.pl:
>> CHECK: Prefer kernel type 'uX' over 'uintX_t'
>
> You might have noticed we have literally hundreds of them spread over 100
&g
change made to resolve following checkpatch message:
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
Signed-off-by: Lucas Tanure <tan...@linux.com>
---
net/ipv4/netfilter/ip_tables.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ne
Fix the checkpatch.pl issues:
CHECK: spaces preferred around that '&' (ctx:VxV)
CHECK: spaces preferred around that '<<' (ctx:VxV)
CHECK: spaces preferred around that '-' (ctx:VxV)
CHECK: spaces preferred around that '+' (ctx:VxV)
Signed-off-by: Lucas Tanure <tan...@linux.com&g
As suggested by checkpatch.pl:
CHECK: Prefer kernel type 'uX' over 'uintX_t'
Signed-off-by: Lucas Tanure <tan...@linux.com>
---
net/ipv4/netfilter/ip_tables.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_ta
Fix checkpatch warning
WARNING: Use #include instead of
Signed-off-by: Lucas Tanure <tan...@linux.com>
---
net/ipv4/netfilter/ip_tables.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index b99affa..a
ed int and get the value by reference in the parameters.
>
> ok, or just change the return type to int w/o adding a new pointer
> argument?
Yeah, you explained better. =p
Do you need me to resend ?
Thanks!
>
>> Done with the help of Coccinelle.
>>
>> Sign
The return type "unsigned int" was used by the ltr501_match_samp_freq function
despite of the aspect that it will eventually return a negative error code.
So, change to signed int and get the value by reference in the parameters.
Done with the help of Coccinelle.
Signed-off-by: Lu
The return type "unsigned int" was used by the ltr501_match_samp_freq function
despite of the aspect that it will eventually return a negative error code.
So, change to signed int and get the value by reference in the parameters.
Done with the help of Coccinelle.
Signed-off-by: Lucas T
.
>> So, change to signed int and get the value by reference in the parameters.
>
> ok, or just change the return type to int w/o adding a new pointer
> argument?
Yeah, you explained better. =p
Do you need me to resend ?
Thanks!
>
>> Done with the help of Coccinelle.
>>
&
The return type "unsigned int" was used by the stm_find_master_chan function
despite of the aspect that it will eventually return a negative error code.
Done with the help of Coccinelle.
Signed-off-by: Lucas Tanure
---
drivers/hwtracing/stm/core.c | 4 ++--
1 file changed, 2 insert
The return type "unsigned int" was used by the get_formation_index function
despite of the aspect that it will eventually return a negative error code.
So, change to signed int and get index by reference in the parameters.
Done with the help of Coccinelle.
Signed-off-by: Lucas Tanure
The return type "unsigned int" was used by the regmap_read() function despite
of the aspect that it will eventually return a negative error code. So, change
to signed int and get reg by reference in the parameters
Signed-off-by: Lucas Tanure
---
sound/soc/codecs/wm2
The return type "unsigned int" was used by the get_formation_index function
despite of the aspect that it will eventually return a negative error code.
So, change to signed int and get index by reference in the parameters.
Done with the help of Coccinelle.
Signed-off-by: Lucas T
The return type "unsigned int" was used by the regmap_read() function despite
of the aspect that it will eventually return a negative error code. So, change
to signed int and get reg by reference in the parameters
Signed-off-by: Lucas Tanure <tan...@linux.com>
---
sound/soc/code
The return type "unsigned int" was used by the stm_find_master_chan function
despite of the aspect that it will eventually return a negative error code.
Done with the help of Coccinelle.
Signed-off-by: Lucas Tanure <tan...@linux.com>
---
drivers/hwtracing/stm/core.c | 4 ++--
1
The conversion from void pointer to any other pointer type is guaranteed by
the C programming language.
Signed-off-by: Lucas Tanure
---
drivers/staging/comedi/drivers/s626.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/comedi/drivers/s626.c
b
The conversion from void pointer to any other pointer type is guaranteed by
the C programming language.
Signed-off-by: Lucas Tanure <tan...@linux.com>
---
drivers/staging/comedi/drivers/s626.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/
Fix missing include in intel i40e driver. Without this include linux next
tree won't compile.
Signed-off-by: Lucas Tanure
---
drivers/net/ethernet/intel/i40e/i40e_fcoe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/intel/i40e/i40e_fcoe.c
b/drivers/net/ethernet/intel
Fix missing include in intel i40e driver. Without this include linux next
tree won't compile.
Signed-off-by: Lucas Tanure tan...@linux.com
---
drivers/net/ethernet/intel/i40e/i40e_fcoe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/intel/i40e/i40e_fcoe.c
b/drivers
Hi Christoph,
What kind of things that you think a newbie can fix ?
Thanks
--
Lucas Tanure
+55 (19) 988176559
On Mon, Jul 28, 2014 at 9:53 AM, Christoph Hellwig wrote:
> Can you folks please stop this challenge Bullshit? More checkpatch
> fixes is not something we'll need at all.
>
Hi Christoph,
What kind of things that you think a newbie can fix ?
Thanks
--
Lucas Tanure
+55 (19) 988176559
On Mon, Jul 28, 2014 at 9:53 AM, Christoph Hellwig h...@infradead.org wrote:
Can you folks please stop this challenge Bullshit? More checkpatch
fixes is not something we'll need
Fix wrong __IO_H definition in boot/io.h
Reported-by: Fernando Silveira
Signed-off-by: Lucas Tanure
---
arch/powerpc/boot/io.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/boot/io.h b/arch/powerpc/boot/io.h
index 7c09f48..394da55 100644
--- a/arch/powerpc
Fix wrong __IO_H definition in boot/io.h
Reported-by: Fernando Silveira fsilve...@gmail.com
Signed-off-by: Lucas Tanure tan...@linux.com
---
arch/powerpc/boot/io.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/boot/io.h b/arch/powerpc/boot/io.h
index 7c09f48
Kernel coding style. Remove useless else statement after return.
Signed-off-by: Lucas Tanure
---
drivers/staging/android/sync.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c
index c9a0c2c..e7b2e02 100644
Hi,
This patch got accepted ?
Thanks
--
Lucas Tanure
+55 (19) 988176559
On Sun, Jul 13, 2014 at 9:31 PM, Lucas Tanure wrote:
> Kernel coding style. Remove useless else statement after return.
> Changes from v1 and v2: Fix warning for mixed declarations and code.
> Declaration o
Hi Russell,
I found that project
http://kernelnewbies.org/KernelProjects/NoMoreModuleVmalloc.
So I thought that doing first a alloc_pages_exact would be the goal.
The kernel/module.c doesn't need this task any more, or I just did in
the wrong way ?
Thanks
--
Lucas Tanure
+55 (19) 988176559
Hi Russell,
I found that project
http://kernelnewbies.org/KernelProjects/NoMoreModuleVmalloc.
So I thought that doing first a alloc_pages_exact would be the goal.
The kernel/module.c doesn't need this task any more, or I just did in
the wrong way ?
Thanks
--
Lucas Tanure
+55 (19) 988176559
Hi,
This patch got accepted ?
Thanks
--
Lucas Tanure
+55 (19) 988176559
On Sun, Jul 13, 2014 at 9:31 PM, Lucas Tanure tan...@linux.com wrote:
Kernel coding style. Remove useless else statement after return.
Changes from v1 and v2: Fix warning for mixed declarations and code.
Declaration
Kernel coding style. Remove useless else statement after return.
Signed-off-by: Lucas Tanure tan...@linux.com
---
drivers/staging/android/sync.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c
index c9a0c2c
Ok. I will do it.
4th could be the right one =p.
Thanks for your time
Cheers
--
Lucas Tanure
+55 (19) 988176559
On Sun, Jul 13, 2014 at 9:13 PM, Greg Kroah-Hartman
wrote:
> On Sun, Jul 13, 2014 at 08:25:13PM -0300, Lucas Tanure wrote:
>> Kernel coding style. Remove useless else
Kernel coding style. Remove useless else statement after return.
Changes from v1 and v2: Fix warning for mixed declarations and code.
Declaration of "struct binder_transaction *next" made outside of while.
Changes from v3: Removed initialization to NULL for next variable.
Signed-off
Kernel coding style. Remove useless else statement after return.
Changes from v1 and v2: Fix warning for mixed declarations and code.
Declaration of "struct binder_transaction *next" made outside of while,
and initialized with NULL.
Signed-off-by: Lucas Tanure
---
drivers/stagi
Sorry,
I didn't know. I will fix.
Thanks
--
Lucas Tanure
+55 (19) 988176559
On Sun, Jul 13, 2014 at 4:07 PM, Greg Kroah-Hartman
wrote:
> On Sun, Jul 13, 2014 at 11:49:29AM -0300, Lucas Tanure wrote:
>> Kernel coding style. Remove useless else statement after return.
>>
>>
I missed on trailing whitespace in first patch.
Didn't saw a ERROR: trailing whitespace in the first patch.
Sorry,
Thanks
--
Lucas Tanure
+55 (19) 988176559
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kerne
Kernel coding style. Remove useless else statement after return.
Signed-off-by: Lucas Tanure
---
drivers/staging/android/binder.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c
Kernel coding style. Remove useless else statement after return.
Signed-off-by: Lucas Tanure
---
drivers/staging/android/binder.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c
1 - 100 of 111 matches
Mail list logo