On Mon, Jan 23, 2017 at 01:04:14PM +0100, Johan Hovold wrote:
> Add a struct timer_list to struct gb_operation and use that to implement
> generic operation timeouts.
>
> This simplifies the synchronous operation handling somewhat while also
> providing a generic timeout mechani
On Tue, Feb 07, 2017 at 02:31:04PM +, Bryan O'Donoghue wrote:
> On 07/02/17 14:19, Johan Hovold wrote:
> > On Mon, Jan 23, 2017 at 01:04:14PM +0100, Johan Hovold wrote:
> >> Add a struct timer_list to struct gb_operation and use that to implement
> >>
On Wed, Feb 08, 2017 at 11:43:57AM +, Bryan O'Donoghue wrote:
> On 08/02/17 09:43, Johan Hovold wrote:
> > On Tue, Feb 07, 2017 at 02:31:04PM +, Bryan O'Donoghue wrote:
> >> On 07/02/17 14:19, Johan Hovold wrote:
> >>> On Mon, Jan 23, 2017 at 01:04:
On Wed, Feb 08, 2017 at 02:05:15PM +, Bryan O'Donoghue wrote:
> On 08/02/17 11:55, Johan Hovold wrote:
> > On Wed, Feb 08, 2017 at 11:43:57AM +, Bryan O'Donoghue wrote:
> >> On 08/02/17 09:43, Johan Hovold wrote:
> >>> On Tue, Feb 07, 2017 at 02:31:04PM
Add a struct timer_list to struct gb_operation and use that to implement
generic operation timeouts.
This simplifies the synchronous operation handling somewhat while also
providing a generic timeout mechanism that drivers can use for
asynchronous operations.
Signed-off-by: Johan Hovold <
et/set
s/operation.h/struct gb_operation/
> methods to access that pointer.
>
> Signed-off-by: Bryan O'Donoghue <pure.lo...@nexus-software.ie>
Reviewed-by: Johan Hovold <jo...@kernel.org>
> ---
> drivers/staging/greybus/operation.h | 13 +
> 1 file changed, 13
On Wed, Jan 04, 2017 at 12:11:20AM +, Bryan O'Donoghue wrote:
> Loopback has its own internal method for tracking and timing out
> asynchronous operations however previous patches make it possible to use
> functionality provided by operation.c to do this instead. Using the code in
>
microseconds-to-milliseconds. The new minimum timeout will be one
> millisecond as opposed to one jiffy.
You also reduced the maximum in a similar way (1 ms <= 1 jiffie). You
could mention that here as well.
> Signed-off-by: Bryan O'Donoghue <pure.lo...@nexus-software.ie>
Re
On Wed, Jan 04, 2017 at 12:11:18AM +, Bryan O'Donoghue wrote:
> This patch adds a generic mechanism for handling timeouts of asynchronous
> operations to operation.c. After doing a gb_operation_request_send() it
> schedules a delayed worker. When the delayed worker's timer expires the
> worker
_work+0x3b0/0x3b0
> kthread+0xc4/0xe0
> ? kthread_park+0xb0/0xb0
> ret_from_fork+0x22/0x30
>
> So, fix that by adding checks before use the callback.
>
> Fixes: 970dc85bd95d ("greybus: timesync: Add timesync core driver")
> Cc: <sta...@vger.kernel.org>
On Mon, Jan 23, 2017 at 03:39:43PM +, Bryan O'Donoghue wrote:
> On 23/01/17 15:13, Johan Hovold wrote:
> > On Mon, Jan 23, 2017 at 02:32:48PM +, Bryan O'Donoghue wrote:
> >> On 23/01/17 12:04, Johan Hovold wrote:
> >>
> >>> +static void
On Mon, Jan 23, 2017 at 02:22:44PM +, Rui Miguel Silva wrote:
> When tearingdown timesync, and not in arche platform, the state platform
> callback is not initialized. That will trigger the following NULL
> dereferencing.
> CallTrace:
>
> ? gb_timesync_platform_unlock_bus+0x11/0x20 [greybus]
On Mon, Jan 23, 2017 at 02:32:48PM +, Bryan O'Donoghue wrote:
> On 23/01/17 12:04, Johan Hovold wrote:
>
> > +static void gb_operation_timeout(unsigned long arg)
> > +{
> > + struct gb_operation *operation = (void *)arg;
> > +
> > + if (gb_operat
oseconds")
Signed-off-by: Johan Hovold <jo...@kernel.org>
---
drivers/staging/greybus/loopback.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/greybus/loopback.c
b/drivers/staging/greybus/loopback.c
index 6c2a41c638c3..a8329daf1e57 100644
--
This driver does not have a low-latency mode and should not report
anything else.
Also drop the skip-test flag which isn't used either.
Signed-off-by: Johan Hovold <jo...@kernel.org>
---
drivers/staging/greybus/uart.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/g
On Fri, Jan 27, 2017 at 03:29:30PM +0300, Dan Carpenter wrote:
> On Fri, Jan 27, 2017 at 11:11:21AM +0100, mrossibel...@gmail.com wrote:
> > From: Maxime Rossi Bellom
> >
> > Split line before funtion argument.
> >
> > Error was reported by checkpatch.pl as
> > WARNING:
On Fri, Jan 27, 2017 at 03:47:21PM +0300, Dan Carpenter wrote:
> The name sucks is what I'm saying. Please fix it eventually.
I disagree. The name uses a common prefix that reflects the object it is
working on. This should not be changed. As it is currently named, the
function is also
On Fri, Jan 27, 2017 at 04:24:47PM +0300, Dan Carpenter wrote:
> On Fri, Jan 27, 2017 at 02:08:06PM +0100, Johan Hovold wrote:
> > On Fri, Jan 27, 2017 at 03:47:21PM +0300, Dan Carpenter wrote:
> > > The name sucks is what I'm saying. Please fix it eventually.
> >
>
On Fri, Feb 10, 2017 at 11:16:37PM -0500, Nathan Howard wrote:
> Fix checkpatch.pl issue of the form:
> "CHECK: Please don't use multiple blank lines".
Don't take checkpatch too seriously. Using double blank lines as a
separator is perfectly fine.
Thanks,
Johan
On Thu, Feb 09, 2017 at 05:30:12PM +0100, Gioh Kim wrote:
> Fix "Octal permissions are preffered than symbolic ones" issues.
>
> Signed-off-by: Gioh Kim <gi-oh@profitbricks.com>
Acked-by: Johan Hovold <jo...@kernel.org>
__
On Thu, Feb 09, 2017 at 05:30:11PM +0100, Gioh Kim wrote:
> This patch fixes only obvious lines.
> There are still more issues.
Please make this commit message self-contained (e.g. mention what you
are doing here and why).
> Signed-off-by: Gioh Kim
> ---
>
On Thu, Feb 09, 2017 at 01:01:18PM +, Colin King wrote:
> From: Colin Ian King
>
> Currently newline.flow_control is uninitialized, so it can contain
> any garbage from the stack. I believe it should be initialized with
> GB_SERIAL_AUTO_RTSCTS_EN enabled if the
On Mon, Jan 23, 2017 at 05:50:23PM +0100, Johan Hovold wrote:
> On Mon, Jan 23, 2017 at 03:39:43PM +, Bryan O'Donoghue wrote:
> > Have you run this through loopback without any # of in-flight operations
> > constrained ?
>
> No, not yet as that would require also your ch
On Wed, Jan 18, 2017 at 06:21:23PM -0800, Igor Pylypiv wrote:
> checkpatch.pl warning:
> Symbolic permissions are not preferred. Consider using octal permissions.
>
> Signed-off-by: Igor Pylypiv <igor.pyly...@gmail.com>
Reviewed-by: Johan Hovold
On Thu, Jan 19, 2017 at 10:07:42AM +0100, Greg Kroah-Hartman wrote:
> On Wed, Jan 04, 2017 at 12:11:17AM +, Bryan O'Donoghue wrote:
> > V3:
> > Picard: "Let's make sure history never forgets the name ... Enterprise."
> > Drop gb_operation_cancel_async. The sync version works just as well -
yer <christian.bewerme...@fau.de>
> Signed-off-by: Roman Sommer <roman.som...@fau.de>
Reviewed-by: Johan Hovold <jo...@kernel.org>
Thanks,
Johan
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
On Mon, Feb 27, 2017 at 12:52:17PM -0800, Jonathan Bowie wrote:
> fixed a simple style issue in tools/loopback_test.c
Please mention what kind of style issue you're addressing.
Also make sure your patch summary (Subject) is on the format
staging: greybus: loopback_test: add missing
rything
> + * and then enter FW flashing state
> + */
> poweroff_seq(pdev);
> ret = fw_flashing_seq(pdev);
> } else {
Patch looks fine, but note that someone just sent a patch for this
second chunk the other d
On Mon, Oct 03, 2016 at 04:21:09PM +0530, Sidhant Gupta wrote:
> Fixes a comment coding style warning by adding 2 blank lines. Issue
> found by checkpatch.
>
> Signed-off-by: Sidhant Gupta <guptasidhant...@gmail.com>
Acked-by: Johan Hovold <jo...@kerne
Drop invalid user-pointer check from TIOCGSERIAL handler.
A NULL-pointer can be valid in user space and copy_to_user() takes care
of sanity checking.
Signed-off-by: Johan Hovold <jo...@kernel.org>
---
drivers/staging/greybus/uart.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/d
Use the tty get_icount operation instead of implementing TIOCGICOUNT
directly.
Signed-off-by: Johan Hovold <jo...@kernel.org>
---
drivers/staging/greybus/uart.c | 31 ---
1 file changed, 12 insertions(+), 19 deletions(-)
diff --git a/drivers/staging/greybus/ua
checks.
Reviewed-by: Johan Hovold <jo...@kernel.org>
Thanks,
Johan
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
On Fri, Oct 14, 2016 at 10:18:21PM +0300, Dan Carpenter wrote:
> We should release ->interfaces[0] as well.
Indeed. Thanks for the fix.
> Fixes: b15d97d77017 ("greybus: core: add module abstraction")
> Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com>
82142016 drivers/staging/greybus/uart.o
>
> File size after:
>text data bss dec hex filename
>7710 448 5682142016 drivers/staging/greybus/uart.o
>
> Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
Acked-by: Johan Hovold
c: Axel Haslam <haslam_a...@projectara.com>
> Cc: Johan Hovold <jo...@hovoldconsulting.com>
> Cc: Sandeep Patil <patil_sand...@projectara.com>
> Cc: Rui Miguel Silva <rui.si...@linaro.org>
> Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
> Signed-off-
On Wed, Oct 12, 2016 at 08:02:21AM +0530, Viresh Kumar wrote:
> Some of the print messages are using the incorrect device pointer, fix
> them.
>
> Signed-off-by: Viresh Kumar <viresh.ku...@linaro.org>
Acked-by: Johan Hovold <jo...@kernel.org>
_
On Wed, Oct 12, 2016 at 08:02:22AM +0530, Viresh Kumar wrote:
> Some of the print messages are using the incorrect device pointer, fix
> them.
>
> Signed-off-by: Viresh Kumar <viresh.ku...@linaro.org>
Acked-by: Johan Hovold <jo...@kernel.org>
_
a9db ("greybus: es2: Add a new bulk in endpoint for
> APBridgeA RPC")
> Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
Thanks for the fix. This was clearly broken and would have led to
havoc on disconnect as well.
Reviewed-by:
On Tue, Nov 22, 2016 at 01:18:21PM +, Bryan O'Donoghue wrote:
> On Tue, 2016-11-22 at 13:17 +0100, Johan Hovold wrote:
> > [ Resend with Greg's address fixed. ]
> >
> > On Mon, Nov 21, 2016 at 05:22:13PM +, Bryan O'Donoghue wrote:
> > >
> > > McC
[ Resend with Greg's address fixed. ]
On Mon, Nov 21, 2016 at 05:22:13PM +, Bryan O'Donoghue wrote:
> McCOY: You've got him, Jim! You've got him where you want him.
Hey, I ended up watching this one last night. Funny coincidence.
> This patchset adds async operations to greybus-core. Rather
On Mon, Nov 21, 2016 at 05:22:13PM +, Bryan O'Donoghue wrote:
> McCOY: You've got him, Jim! You've got him where you want him.
Hey, I ended up watching this one last night. Funny coincidence.
> This patchset adds async operations to greybus-core. Rather than have
> different drivers do
On Fri, Nov 18, 2016 at 07:04:20PM +0530, Rahul Krishnan wrote:
> This patch fixes the following checkpath.pl warning
> WARNING: braces {} are not necessary for single statement blocks
>
> Fixed indentation error, noted by Dan Carpenter
>
> Signed-off-by: Rahul Krishnan
Signed-off-by: Johan Hovold <jo...@kernel.org>
---
drivers/staging/greybus/arche-platform.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/greybus/arche-platform.c
b/drivers/staging/greybus/arche-platform.c
index 34307ac3f255..d33d6fe078ad 100644
--- a/drivers/stagi
On Mon, Oct 31, 2016 at 08:50:53AM -0500, Alex Elder wrote:
> I'm proposing below a few things, which I'll implement this week
> unless I hear people express strong opposition (or clearly better
> suggestions). If you have comments, please say something.
>
> Git repositories. Public git
[+CC: staging list ]
On Sun, Oct 16, 2016 at 02:19:48PM +0530, sayli karnik wrote:
> This patch replaces kmalloc and memcpy with kmemdup for duplication of
> memory.
>
> Signed-off-by: sayli karnik <karniksayli1...@gmail.com>
Acked-by: Johan Hovold <jo...@kernel.org>
On Sun, Oct 16, 2016 at 03:29:14PM +0530, Pankaj Bharadiya wrote:
> gb_audio_manager_module_descriptor's cport field is actually used to
> manage and pass interface id to user space.
>
> Thus rename gb_audio_manager_module_descriptor's 'cport' field and
> few other things to avoid confusion.
>
> This is detected by Coccinelle semantic patch.
>
> Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
This code is going away eventually, but still.
Acked-by: Johan Hovold <jo...@kernel.org>
Thanks,
Johan
___
devel m
On Tue, Dec 06, 2016 at 07:39:36PM +0530, Srikant Ritolia wrote:
> All kmalloc-based functions print enough information on failure
>
> Signed-off-by: Srikant Ritolia <s.rito...@samsung.com>
Acked-by: Johan Hovold <jo...@kernel.org>
> ---
> Changes in v2:
> - Ad
On Tue, Jan 10, 2017 at 05:21:24PM +0100, Roman Sommer wrote:
> From: Christian Bewermeyer
>
> Note that this patch does not fix all checkpatch warnings for
> gpio.c
Fair enough, but you are fixing all of these new "unsigned int"
warnings in that driver, right?
How
t;
Next time I suggest you drop "checkpatch: " from your subject since
that's not a (greybus) component. You could have rephrased the summary
as "fix checkpatch unsigned warnings" or similar instead.
Reviewed-by: Johan Hovold <jo...@kernel.org>
Thanks,
Johan
_
On Wed, Jan 11, 2017 at 02:48:38PM +0100, Roman Sommer wrote:
> Note that this patch does not fix all checkpatch warnings for the
> affected files.
>
> Signed-off-by: Christian Bewermeyer
> Signed-off-by: Roman Sommer
You forgot to fix the
On Thu, Jan 12, 2017 at 05:59:40PM +1300, Derek Robson wrote:
> Changed permissions to be in octal style.
> Found by checkpatch.
>
> Signed-off-by: Derek Robson <robso...@gmail.com>
> ---
Acked-by: Johan Hovold <jo...@kernel.org>
Next time, please include a module
On Thu, Jan 12, 2017 at 10:05:10AM +0300, Dan Carpenter wrote:
> On Wed, Jan 11, 2017 at 04:00:35PM +0100, Roman Sommer wrote:
> > Note that this patch does not fix all checkpatch warnings for the
> > affected files.
> >
>
> A lot of ways that display git commits put the changelog and the
On Wed, Jan 11, 2017 at 01:29:36AM +, Abdul Rauf wrote:
> Fix the following Errors:
> Bad function definition - void abort() should probably be void abort(void)
>
> Signed-off-by: Abdul Rauf <abdulraufmuja...@gmail.com>
Acked-by: Johan Hovold
g. use "staging: greybus: audio_module: remove redundant OOM
message").
Fix that up and you can add my
Acked-by: Johan Hovold <jo...@kernel.org>
Thanks,
Johan
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdri
On Tue, Jan 03, 2017 at 09:23:29AM +, Bryan O'Donoghue wrote:
> On 02/01/17 16:16, Johan Hovold wrote:
> > On Tue, Dec 27, 2016 at 01:01:35PM +, Bryan O'Donoghue wrote:
> >> Later patches don't want or need to serialize the cancellation of an
> >>
zi.eman...@gmail.com>
Acked-by: Johan Hovold <jo...@kernel.org>
> ---
> v2: Add svc_watchdog to the subject line
>
> drivers/staging/greybus/svc_watchdog.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/greybus/svc_watc
o printk(KERN_ERR ."
>
> Signed-off-by: Emmanuil Chatzipetru <chatzi.eman...@gmail.com>
> ---
> v2: Add svc_watchdog to the subject line
Thanks for the update.
Acked-by: Johan Hovold <jo...@kernel.org>
> drivers/staging/greybus/svc_watchdog.c | 2 +-
> 1 file ch
arious other function pointers.
Yeah, I allowed for some inconsistency here given that these callbacks
are mandatory on our current platform.
No harm in checking this way though (well, at least as long as we
remember to set the pointers).
> Signed-off-by: Jason Hrycay <jhry...@gmail.com>
A
bad manners. Use the existing gb_loopback_async_wait_all() function to gate
> continuing when the send_count == iteration_max and go to sleep until
> there's something worthwhile to-do.
>
> Signed-off-by: Bryan O'Donoghue <pure.lo...@nexus-software.ie>
Reviewed-by:
On Tue, Jan 03, 2017 at 03:33:04PM +0100, chatzi.eman...@gmail.com wrote:
> From: Emmanuil Chatzipetru
>
> Fix coding style issue caught by checkpatch.pl related to the following
> warning:
> - CHECK: Alignment should match open parenthesis
This is not even a
On Tue, Jan 03, 2017 at 03:33:12PM +0100, chatzi.eman...@gmail.com wrote:
> From: Emmanuil Chatzipetru
>
> Fix coding style issue caught by checkpatch.pl related to the following
> warning:
> - CHECK: Please don't use multiple blank lines
Again not a warning, and
On Tue, Jan 03, 2017 at 03:33:03PM +0100, chatzi.eman...@gmail.com wrote:
> From: Emmanuil Chatzipetru
>
> Fix coding style issue caught by checkpatch.pl related to the following
> warning:
> - CHECK: Please don't use multiple blank lines
>
> Signed-off-by:
On Tue, Jan 03, 2017 at 03:33:10PM +0100, chatzi.eman...@gmail.com wrote:
> From: Emmanuil Chatzipetru
>
> Fix coding style issue caught by checkpatch.pl related to the following
> warning:
> - CHECK: Comparison to NULL could be written "!token"
Again, not a
On Tue, Jan 03, 2017 at 03:33:16PM +0100, chatzi.eman...@gmail.com wrote:
> From: Emmanuil Chatzipetru
>
> Fix coding style issue caught by checkpatch.pl related to the following
> warning:
> - CHECK: Comparison to NULL could be written "!id"
Current code is
Chatzipetru <chatzi.eman...@gmail.com>
Acked-by: Johan Hovold <jo...@kernel.org>
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
gt; Signed-off-by: Emmanuil Chatzipetru <chatzi.eman...@gmail.com>
Acked-by: Johan Hovold <jo...@kernel.org>
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
zi.eman...@gmail.com>
Acked-by: Johan Hovold <jo...@kernel.org>
> ---
> drivers/staging/greybus/audio_topology.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/greybus/audio_topology.c
> b/drivers/staging/greybus/audio_topology.c
&g
On Wed, Jan 04, 2017 at 03:07:32PM +0100, Emmanuil Chatzipetru wrote:
> Fix coding style issue caught by checkpatch.pl related to the following
> warning:
> - CHECK: WARNING: line over 80 characters
>
> Signed-off-by: Emmanuil Chatzipetru
> ---
>
On Wed, Jan 04, 2017 at 04:14:45PM +0100, Emmanuil Chatzipetru wrote:
> Fix coding style issue caught by checkpatch.pl related to the following
> warning:
> - CHECK: WARNING: line over 80 characters
This commit message should be expanded to explain how this is done (e.g.
"by dropping a
zi.eman...@gmail.com>
Acked-by: Johan Hovold <jo...@kernel.org>
> ---
> drivers/staging/greybus/audio_topology.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/greybus/audio_topology.c
> b/drivers/staging/greybus/audio_topology.c
&g
> specifier
> in dev_err(); to "%zu" instead of "%d", in order to silence the warnings of
> the
> compiler.
>
> Also, while at it, drop the redundant cast in the comparison as well to
> maintain
> consistency.
>
> Signed-off-by: Emmanuil Chat
On Sun, Jan 08, 2017 at 03:27:18PM +, Bryan O'Donoghue wrote:
> commit e854ff58ed70 ("greybus: loopback: add runtime pm support")
> introduces pm runtime support to the loopback code. If a
> gb_pm_runtime_get_sync() fails, currently we immediately return from the
> loopback thread.
>
>
On Mon, Jan 09, 2017 at 11:29:50AM +, Bryan O'Donoghue wrote:
> On January 9, 2017 11:19:09 AM GMT+00:00, Johan Hovold <jo...@kernel.org>
> wrote:
> >On Sun, Jan 08, 2017 at 03:27:18PM +, Bryan O'Donoghue wrote:
> >> commit e854ff58ed70 ("greybus:
On Fri, Jan 06, 2017 at 08:43:57PM +1300, Derek Robson wrote:
> Changed permissions to be in octal style.
> Found by checkpatch.
>
> Signed-off-by: Derek Robson
> ---
>
> This version of patch also make the file type part of the mask with the
> permissions, as per
On Sun, Jan 08, 2017 at 03:27:19PM +, Bryan O'Donoghue wrote:
> Doing an rmmod gb_loopback will cause an oops with the following backtrace.
>
> Call Trace:
> debugfs_remove+0xaf/0x180
> gb_loopback_disconnect+0x36/0x160 [gb_loopback]
> greybus_remove+0x87/0x1a0 [greybus]
>
Adding Axel on CC.
On Thu, Dec 22, 2016 at 12:37:29AM +, Bryan O'Donoghue wrote:
> commit 9250c0ee2626 ("greybus: Loopback_test: use poll instead of
> inotify") changes the flow of determining when to break out of a loop
> polling for loopback test completion.
>
> The clause is_complete()
On Tue, Dec 27, 2016 at 01:01:35PM +, Bryan O'Donoghue wrote:
> Later patches don't want or need to serialize the cancellation of an
> operation. This patch adds gb_operation_cancel_async() as a simple subset
> of the existing gb_operation_cancel() sans the synchronous wait on the
>
On Tue, Jan 03, 2017 at 01:46:09PM -0600, Jason Hrycay wrote:
> On Mon, Jan 02, 2017 at 02:54:37PM +0100, Johan Hovold wrote:
> > On Tue, Dec 20, 2016 at 02:49:27PM -0600, Jason Hrycay wrote:
> > > Add sanity checks for cport_quiesce and cport_clear before invoking t
; a great place to start from.
>
> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Reviewed-by: Johan Hovold <jo...@kernel.org>
> Note, there are some remants in the arche-platform driver, but that's
> probably next on the chopping block, so I didn't unwind
igned-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Acked-by: Johan Hovold <jo...@kernel.org>
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
On Tue, Dec 20, 2016 at 01:12:08AM +, Bryan O'Donoghue wrote:
> Currently the greybus-loopback thread logic spins around waiting for
> send_count == iteration_max which on real hardware doesn't make a
> difference to us but in simulation is excruciatingly slow, anti-social and
> bad manners.
On Wed, Dec 21, 2016 at 04:38:26PM +0100, Emmanuil Chatzipetru wrote:
> Fix coding style issue caught by checkpatch.pl related to the following
> warning:
> - "WARNING: char * array declaration might be better as static const"
>
> Signed-off-by: Emmanuil Chatzipetru
On Wed, Mar 01, 2017 at 02:30:02AM -0800, Jonathan Bowie wrote:
> Fixed incosistent spacing around arithmetic operator.
>
> v2
> -fixed subject, added changelog
> v3
> -CC:ed linux-next incorrectly, added proper summary
> v4
> -CC:ed staging mailing list, moved changelog to summary body
As I
ly, added proper summary
> v4
> -CC:ed correct mailing list, moved changelog to summary body
> v5
> -correctly placed changelog
All good now!
Thanks for sticking to it (and nevermind the changelog typo ;) ).
Reviewed-by: Johan Hovold <jo...@kernel.org>
Johan
__
On Tue, Jul 18, 2017 at 04:26:40PM +0530, kart...@techveda.org wrote:
> From: Karthik Tummala
>
> Enclosed multiple macro statements in a do - while loop as per kernel
> coding standard, pointed by checkpatch.
[ +CC: Rui and Greg ]
On Tue, Jul 18, 2017 at 09:41:06PM +0300, Sakari Ailus wrote:
> Memory for struct v4l2_flash_config is allocated in
> gb_lights_light_v4l2_register() for no gain and yet the allocated memory is
> leaked; the struct isn't used outside the function. Fix this.
>
>
On Sun, Jul 23, 2017 at 03:10:53PM +0300, Dan Carpenter wrote:
> On Sun, Jul 23, 2017 at 10:47:43AM +0200, Johan Hovold wrote:
> > On Sun, Jul 23, 2017 at 02:09:57PM +0530, Shreeya Patel wrote:
> > > Alignment should match with open parenthesis.
> > > This f
On Sun, Jul 23, 2017 at 02:09:57PM +0530, Shreeya Patel wrote:
> Alignment should match with open parenthesis.
> This fixes the coding style issue.
No, it need not. This is a choice left up to the author, even if
checkpatch happens to complain about it with the --strict option.
Thanks,
Johan
On Thu, Jul 27, 2017 at 09:49:32PM -0700, Greg KH wrote:
> On Mon, Jul 24, 2017 at 10:08:37AM +0300, Dan Carpenter wrote:
> > I don't understand why greybus has to be special instead of the same as
> > everything else. Who cares about this stuff really? Just do whatever
> > is easiest and most
vices. If
> > + /*
> > +* Cancel any running tests on enabled devices. If
> > * stop_all option is given, stop test on all devices.
> > */
> > for (i = 0; i < t->device_count; i++)
>
> Reviewed-by: Viresh Kumar <viresh.ku...@linaro.org>
Acked-by: Johan Hovold <jo...@kernel.org>
Thanks,
Johan
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
On Fri, Jun 30, 2017 at 09:43:44PM +0500, Aleksey Rybalkin wrote:
> According to checkpatch warning, block comments should align the * on
> each line.
How about "fixing" the other multi-line comment ("Cancel any
running..."), which isn't on the normal kernel format either while at
it?
/*
On Wed, Jul 05, 2017 at 10:01:09AM +0500, Aleksey Rybalkin wrote:
> On Tue, Jul 04, 2017 at 10:28:10AM +0200, Johan Hovold wrote:
> > On Tue, Jul 04, 2017 at 11:47:51AM +0530, Viresh Kumar wrote:
> > > + Greg
> > >
> > > On 03-07-17, 23:27, Aleksey Rybalkin wr
: Won Kang <wkan...@gmail.com>
Signed-off-by: Johan Hovold <jo...@kernel.org>
---
drivers/staging/gdm724x/gdm_mux.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/gdm724x/gdm_mux.c
b/drivers/staging/gdm724x/gdm_mux.c
index 400969170d1c..f03e4
-off-by: Julia Lawall <julia.law...@lip6.fr>
Acked-by: Johan Hovold <jo...@kernel.org>
Thanks,
Johan
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Add Arche platform-driver config option and allow the driver to be
compile tested also without the usb3613 driver.
Signed-off-by: Johan Hovold <jo...@kernel.org>
---
drivers/staging/greybus/Kconfig | 10 ++
drivers/staging/greybus/Makefile | 2 +-
drivers/s
Remove the remaining timesync bits that were left in the arche platform
driver and which prevented the driver from being compiled.
Fixes: bdfb95c4baab ("staging: greybus: remove timesync protocol support")
Signed-off-by: Johan Hovold <jo...@kernel.org>
---
drivers/staging/g
breakage.
Johan
Johan Hovold (2):
staging: greybus: arche: remove timesync remains
staging: greybus: enable compile testing of arche driver
drivers/staging/greybus/Kconfig | 10 +++
drivers/staging/greybus/Makefile | 2 +-
drivers/staging/greybus/arche-apb-ctrl.c | 11
On Mon, May 15, 2017 at 04:17:55PM +0100, Bryan O'Donoghue wrote:
> On 15/05/17 15:26, Johan Hovold wrote:
> > Remove the remaining timesync bits that were left in the arche platform
> > driver and which prevented the driver from being compiled.
> >
> > Fixes: bdfb
On Mon, May 15, 2017 at 09:49:51AM -0700, Randy Dunlap wrote:
> On 05/15/17 07:26, Johan Hovold wrote:
> > Add Arche platform-driver config option and allow the driver to be
> > compile tested also without the usb3613 driver.
> >
> > Signed-off-by: Joh
1 - 100 of 218 matches
Mail list logo