On Fri, Nov 22, 2013 at 04:43:44PM -0800, Paul Zimmerman wrote:
This is a series of cleanups to the DWC2 driver, in response to Dan
Carpenter's review on 11/15/2013. I believe I have addressed all of
Dan's suggestions, except for removing the validation checks from
the dwc2_set_param_*
On 2013-11-21 19:57, Conrad Gomes wrote:
This series contains various fixes to coding style issues in unioxx5.c
found by checkpatch.pl and due to the usage of pr_err instead of the
preferred dev_err type functions for device drivers.
Conrad Gomes (7):
Staging: comedi: fix line over 80
On 2013-11-22 17:40, H Hartley Sweeten wrote:
Currently the COMEDI_DEBUG option enables the comedi_debug module parameter as
well as a DPRINTK() macro. To actually get debug messages to display the
kernel
still needs to be built with the -DDEBUG flag.
Cleanup all the custom uses of DEBUG in
I've made the success and error paths clearer and pulled some code in
one indent level.
Signed-off-by: Dan Carpenter dan.carpen...@oracle.com
diff --git a/drivers/staging/dwc2/hcd_queue.c b/drivers/staging/dwc2/hcd_queue.c
index f200f1f6e1c6..ad9136e9d820 100644
---
Combine two conditions and make the success path explicit.
Signed-off-by: Dan Carpenter dan.carpen...@oracle.com
---
The code is more complicated than it needs to be because of the debug
code. If we just tested for error and then returned instead of trying
to print a debug message that is the
I have reviewed the second half of the driver now.
drivers/staging/dwc2/hcd_ddma.c
616 static void dwc2_fill_host_dma_desc(struct dwc2_hsotg *hsotg,
617 struct dwc2_host_chan *chan,
618 struct dwc2_qtd *qtd,
From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
Sent: Monday, November 25, 2013 6:11 AM
I've made the success and error paths clearer and pulled some code in
one indent level.
Signed-off-by: Dan Carpenter dan.carpen...@oracle.com
diff --git a/drivers/staging/dwc2/hcd_queue.c
From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
Sent: Monday, November 25, 2013 6:14 AM
Combine two conditions and make the success path explicit.
Signed-off-by: Dan Carpenter dan.carpen...@oracle.com
---
The code is more complicated than it needs to be because of the debug
code.
On Mon, Nov 25, 2013 at 07:46:57PM +, Paul Zimmerman wrote:
This touches the same function as the patch series staging: dwc2:
cleanups for DWC2 driver that I have already submitted. If you don't
mind, I will fold this patch into that series when I resubmit it to
fix some other things.
On Monday, November 25, 2013 12:54 PM, Greg KH wrote:
On Fri, Nov 22, 2013 at 10:47:40AM -0700, H Hartley Sweeten wrote:
Use dev_dbg(), or pr_debug() when dev is not valid, instead of the
DPRINTK macro to output the comedi debugging information.
Remove the debug messages for allocation
On Mon, Nov 25, 2013 at 08:16:32PM +, Hartley Sweeten wrote:
On Monday, November 25, 2013 12:54 PM, Greg KH wrote:
On Fri, Nov 22, 2013 at 10:47:40AM -0700, H Hartley Sweeten wrote:
Use dev_dbg(), or pr_debug() when dev is not valid, instead of the
DPRINTK macro to output the comedi
On Fri, Nov 15, 2013 at 11:30:07PM +0100, Laurent Navet wrote:
if slic_card_locate failed, memmapped_ioaddr is not unmapped.
Signed-off-by: Laurent Navet laurent.na...@gmail.com
---
drivers/staging/slicoss/slicoss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
This patch causes a
Remove stale comment after changing dwc2_set_parameters() to void
function
Signed-off-by: Paul Zimmerman pa...@synopsys.com
---
drivers/staging/dwc2/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dwc2/core.c b/drivers/staging/dwc2/core.c
index
My previous patch series staging: dwc2: cleanups for DWC2 driver had
a couple of minor problems. This series fixes them up, and also adds a
couple more fixes/cleanups suggested by Dan Carpenter.
Paul Zimmerman (5):
staging: dwc2: remove stale comment after changing function to void
staging:
Fix screwup in checking return value from dwc2_is_controller_alive()
Signed-off-by: Paul Zimmerman pa...@synopsys.com
---
drivers/staging/dwc2/hcd_intr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dwc2/hcd_intr.c b/drivers/staging/dwc2/hcd_intr.c
index
The function dwc2_get_hwparams() was in an awkward place, mixed
in with the dwc2_set_param* functions. Move it down after those
functions.
Signed-off-by: Paul Zimmerman pa...@synopsys.com
---
drivers/staging/dwc2/core.c | 124 ++--
1 file changed, 62
In dwc2_xfercomp_isoc_split_in(), the function has already exited
if len == 0, so no need to test it again
Reported-by: Dan Carpenter dan.carpen...@oracle.com
Signed-off-by: Paul Zimmerman pa...@synopsys.com
---
drivers/staging/dwc2/hcd_intr.c | 2 +-
1 file changed, 1 insertion(+), 1
Too much noise, also does not cover every possible code paths.
Signed-off-by: Mauro Dreissig muk...@gmail.com
---
drivers/staging/media/as102/as102_drv.c| 10 --
drivers/staging/media/as102/as102_drv.h| 8
drivers/staging/media/as102/as102_fe.c | 26
On Mon, Nov 25, 2013 at 05:10:52PM -0500, Mauro Dreissig wrote:
As pointed out by sparse:
drivers/staging/media/as102/as102_fw.c:29:6: warning: symbol 'as102_st_fw1'
was not declared. Should it be static?
drivers/staging/media/as102/as102_fw.c:30:6: warning: symbol 'as102_st_fw2'
was not
On Mon, Nov 25, 2013 at 05:10:53PM -0500, Mauro Dreissig wrote:
Too much noise, also does not cover every possible code paths.
Signed-off-by: Mauro Dreissig muk...@gmail.com
Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org
___
devel mailing
The DWC2 USB controller in the BCM2835 (Raspberry Pi) needs some non-
default parameters. Select these based on the compatible value from the
DT node. For all other HW, fall back to the default parameters currently
in use.
The values in params_bcm2835[] were posted to the mailing list by Paul
21 matches
Mail list logo