Re: [PATCH v2 10/14] staging: most: allow speculative configuration

2019-03-29 Thread Dan Carpenter
On Fri, Mar 29, 2019 at 09:15:46AM +, christian.gr...@microchip.com wrote: > > > +static int set_config_and_add_link(struct mdev_link *mdev_link) > > > +{ > > > + int i; > > > + int ret; > > > + > > > + for (i = 0; i < ARRAY_SIZE(set_config_val); i++) { > > > + ret = set_config_val[i](m

Re: [PATCH v2 10/14] staging: most: allow speculative configuration

2019-03-29 Thread Christian.Gromm
On Do, 2019-03-28 at 17:12 +0300, Dan Carpenter wrote: > External E-Mail > > > On Thu, Mar 28, 2019 at 02:17:38PM +0100, Christian Gromm wrote: > > > > This patch makes the driver accept a link confiiguration eventhough > > no > > device is attached to the bus. Instead the configuration is being

Re: [PATCH v2 10/14] staging: most: allow speculative configuration

2019-03-28 Thread Dan Carpenter
On Thu, Mar 28, 2019 at 02:17:38PM +0100, Christian Gromm wrote: > This patch makes the driver accept a link confiiguration eventhough no > device is attached to the bus. Instead the configuration is being applied > as soon as a device is being registered with the core. > > Signed-off-by: Christia

[PATCH v2 10/14] staging: most: allow speculative configuration

2019-03-28 Thread Christian Gromm
This patch makes the driver accept a link confiiguration eventhough no device is attached to the bus. Instead the configuration is being applied as soon as a device is being registered with the core. Signed-off-by: Christian Gromm --- v2: - follow-up adaptions due to changes introduced w/