Re: [PATCH] rc-core: cleanup rc_register_device (v2)

2017-05-21 Thread Sean Young
On Sun, May 21, 2017 at 08:45:09AM +0200, David Härdeman wrote: > On Sat, May 20, 2017 at 12:10:40PM +0100, Sean Young wrote: > >On Wed, May 03, 2017 at 12:04:00PM +0200, David Härdeman wrote: > >> The device core infrastructure is based on the presumption that > >> once a driver calls

Re: [PATCH] rc-core: cleanup rc_register_device (v2)

2017-05-21 Thread David Härdeman
On Sat, May 20, 2017 at 12:10:40PM +0100, Sean Young wrote: >On Wed, May 03, 2017 at 12:04:00PM +0200, David Härdeman wrote: >> The device core infrastructure is based on the presumption that >> once a driver calls device_add(), it must be ready to accept >> userspace interaction. >> >> This

Re: [PATCH] rc-core: cleanup rc_register_device (v2)

2017-05-20 Thread Sean Young
On Wed, May 03, 2017 at 12:04:00PM +0200, David Härdeman wrote: > The device core infrastructure is based on the presumption that > once a driver calls device_add(), it must be ready to accept > userspace interaction. > > This requires splitting rc_setup_rx_device() into two functions > and

Re: [PATCH] rc-core: cleanup rc_register_device (v2)

2017-05-18 Thread Sean Young
On Thu, May 18, 2017 at 09:55:14AM +0200, David Härdeman wrote: > On Wed, May 17, 2017 at 09:09:57PM +0100, Sean Young wrote: > >Hi David, > > > >On Wed, May 03, 2017 at 12:04:00PM +0200, David Härdeman wrote: > >> The device core infrastructure is based on the presumption that > >> once a driver

Re: [PATCH] rc-core: cleanup rc_register_device (v2)

2017-05-18 Thread David Härdeman
On Wed, May 17, 2017 at 09:09:57PM +0100, Sean Young wrote: >Hi David, > >On Wed, May 03, 2017 at 12:04:00PM +0200, David Härdeman wrote: >> The device core infrastructure is based on the presumption that >> once a driver calls device_add(), it must be ready to accept >> userspace interaction. >>

Re: [PATCH] rc-core: cleanup rc_register_device (v2)

2017-05-17 Thread Sean Young
Hi David, On Wed, May 03, 2017 at 12:04:00PM +0200, David Härdeman wrote: > The device core infrastructure is based on the presumption that > once a driver calls device_add(), it must be ready to accept > userspace interaction. > > This requires splitting rc_setup_rx_device() into two functions

[PATCH] rc-core: cleanup rc_register_device (v2)

2017-05-03 Thread David Härdeman
The device core infrastructure is based on the presumption that once a driver calls device_add(), it must be ready to accept userspace interaction. This requires splitting rc_setup_rx_device() into two functions and reorganizing rc_register_device() so that as much work as possible is performed