Touchpad of Asus X450LCP stops working after a suspend/resume

2015-11-30 Thread Marcos Souza
Hi guys, there is some time this problem happens for me, using different version of kernel, even using a vanilla kernel. I already tried to ask linux-input[1][2] but without success (I don't know if the correct place is linux-input, and if it's not please tell where else can I ask it). When this

Re: [PATCH 3/4] Use devm_request_irq to avoid some checks

2012-10-19 Thread Marcos Souza
Hi Lars, 2012/10/19 Lars-Peter Clausen : > On 10/19/2012 01:41 AM, Marcos Paulo de Souza wrote: >> With this we can remove a lot of checks. >> >> Signed-off-by: Marcos Paulo de Souza > > This one is a bit more tricky and the driver currently gets it (partially > wrong). The issue is that since th

Re: Slow Resume with SSD

2012-09-25 Thread Marcos Souza
Hi Carlos 2012/9/25 Carlos Moffat : > Hi > > On 09/25/2012 12:07 PM, Srivatsa S. Bhat wrote: >> >> On 09/26/2012 12:00 AM, Carlos Moffat wrote: >>> >>> Hi, >>> >>> (please let me know if this is the wrong list to ask this) >>> >>> I have a Crucial M4 512 GB SSD installed on my Thinkpad X220 (Ubunt

Re: [PATCH v2 7/8] drivers/media/platform/davinci/vpbe.c: Removes useless kfree()

2012-09-12 Thread Marcos Souza
Hi Peter, 2012/9/12 Peter Senna Tschudin : > Marcos, > >> Now that you removed this kfree, you could remove this label too. Very >> nice your cleanup :) > Thanks! > >> >>> vpbe_fail_sd_register: >>> kfree(vpbe_dev->encoders); >>> vpbe_fail_v4l2_device: > > The problem removing the label

Re: [PATCH v2 7/8] drivers/media/platform/davinci/vpbe.c: Removes useless kfree()

2012-09-12 Thread Marcos Souza
2012/9/12 Peter Senna Tschudin : > From: Peter Senna Tschudin > > Remove useless kfree() and clean up code related to the removal. > > The semantic patch that finds this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @r exists@ > position p1,p2; > expression x; > @@ > > if (x@p1 =

Re: [PATCH] drivers/media: Removes useless kfree()

2012-09-11 Thread Marcos Souza
2012/9/11 Peter Senna Tschudin : > From: Peter Senna Tschudin > > The semantic patch that finds this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @r exists@ > position p1,p2; > expression x; > @@ > > if (x@p1 == NULL) { ... kfree@p2(x); ... return ...; } > > @unchanged exists@ >

Re: Get the min and max frequency of a processor

2012-09-01 Thread Marcos Souza
2012/8/31 Borislav Petkov : > On Fri, Aug 31, 2012 at 06:52:46AM -0300, Marcos Souza wrote: >> Nothing is wrong with access /sys, but I thought there was another >> way, like an API or something else. > > Ah, there's no API, AFAICT. > > Also, tools/power/cpupower/

Re: Get the min and max frequency of a processor

2012-08-31 Thread Marcos Souza
Hi Borislav, 2012/8/31 Borislav Petkov : > On Thu, Aug 30, 2012 at 02:48:33PM -0300, Marcos Souza wrote: >> Hi people, >> >> I'm changing an application to get the min and max frequency of a >> processor. The device is using cpufreq, and it will show the user the

Re: [PATCH v2] staging: sbe-2t3e3: Remove code that will never execute

2012-07-13 Thread Marcos Souza
2012/7/13 Greg KH : > On Thu, Jul 12, 2012 at 11:27:49PM -0300, Marcos Paulo de Souza wrote: >> This patch removes all references of "if 0" blocks in the sbe-2t3e3 driver. >> >> Signed-off-by: Marcos Paulo de Souza >> --- >> drivers/staging/sbe-2t3e3/2t3e3.h|3 -- >> drivers/staging/sbe-2

Re: [PATCH 0/3] staging: bcm: Cleanup bcm driver

2012-07-09 Thread Marcos Souza
2012/7/9 Kevin McKinney : > On Mon, Jul 09, 2012 at 10:32:37PM -0300, Marcos Paulo de Souza wrote: >> Hi Kernel guys! >> >> This new patchset tries to clean a little the bcm driver, removing >> some unused macros and some dead code. >> >> These macros and dead code were reported by the forgotten-ma

Re: [PATCH 0/6] staging: vt6655: Cleanup in usage of macros

2012-07-09 Thread Marcos Souza
2012/7/9 Joe Perches > > On Sun, 2012-07-08 at 23:51 -0300, Marcos Paulo de Souza wrote: > > Hi kernel guys! > > > > This patchset aims to clean all unused and commented macros. > > > > For this challenge, forgotten-macros tool helped us. > > Perhaps there may be false positives in your code. Not