summaryrefslogtreecommitdiff
path: root/drivers/staging/nmf-cm/cm/engine/component/src/binder_check.c
diff options
context:
space:
mode:
authorPierre Peiffer <pierre.peiffer@stericsson.com>2011-08-26 13:23:25 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:06:58 +0200
commit44a446451bde6f886f923facf15ce527ade4b96a (patch)
treec86a6177e320281ea2c98bedba370d5fef383833 /drivers/staging/nmf-cm/cm/engine/component/src/binder_check.c
parentd312fc107db52f15908d173a0b6638be57b9a431 (diff)
U8500 CM: execute services before detroying component
Force MMDSP to have executed all previous services before detroying the components: service construct / start / stop on a component could remain on the pipe when the component is destroyed. ST-Ericsson ID: 358445 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: Icd8c0fe7d567128562599e928b381514e4a71fa8
Diffstat (limited to 'drivers/staging/nmf-cm/cm/engine/component/src/binder_check.c')
-rw-r--r--drivers/staging/nmf-cm/cm/engine/component/src/binder_check.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/nmf-cm/cm/engine/component/src/binder_check.c b/drivers/staging/nmf-cm/cm/engine/component/src/binder_check.c
index 8a3c3c33de8..373fea0cd47 100644
--- a/drivers/staging/nmf-cm/cm/engine/component/src/binder_check.c
+++ b/drivers/staging/nmf-cm/cm/engine/component/src/binder_check.c
@@ -40,10 +40,10 @@ t_cm_error cm_checkValidClient(
t_interface_reference* itfRef = &client->interfaceReferences[itfRequire->requireIndex][itfRequire->collectionIndex];
if(itfRef->instance == (const t_component_instance*)NMF_VOID_COMPONENT)
- ERROR("CM_INTERFACE_ALREADY_BINDED(): Component (%s<%s>.s) already bound to VOID\n",
+ ERROR("CM_INTERFACE_ALREADY_BINDED(): Component (%s<%s>.%s) already bound to VOID\n",
client->pathname, client->Template->name, requiredItfClientName, 0, 0, 0);
else
- ERROR("CM_INTERFACE_ALREADY_BINDED(): Component (%s<%s>.s) already bound to another server (%s<%s>.%s)\n",
+ ERROR("CM_INTERFACE_ALREADY_BINDED(): Component (%s<%s>.%s) already bound to another server (%s<%s>.%s)\n",
client->pathname, client->Template->name, requiredItfClientName,
itfRef->instance->pathname, itfRef->instance->Template->name, itfRef->instance->Template->provides[itfRef->provideIndex].name);
return CM_INTERFACE_ALREADY_BINDED;
@@ -116,7 +116,7 @@ t_cm_error cm_checkValidBinding(
{
if(itfRef->instance == (const t_component_instance*)NMF_VOID_COMPONENT)
{
- ERROR("CM_INTERFACE_ALREADY_BINDED(): Singleton (%s<%s>.s) already bound to VOID\n",
+ ERROR("CM_INTERFACE_ALREADY_BINDED(): Singleton (%s<%s>.%s) already bound to VOID\n",
client->pathname, client->Template->name, requiredItfClientName, 0, 0, 0);
return CM_INTERFACE_ALREADY_BINDED;
}
@@ -130,7 +130,7 @@ t_cm_error cm_checkValidBinding(
}
else
{
- ERROR("CM_INTERFACE_ALREADY_BINDED(): Singleton (%s<%s>.s) already bound to different server (%s<%s>.%s)\n",
+ ERROR("CM_INTERFACE_ALREADY_BINDED(): Singleton (%s<%s>.%s) already bound to different server (%s<%s>.%s)\n",
client->pathname, client->Template->name, requiredItfClientName,
itfRef->instance->pathname, itfRef->instance->Template->name, itfRef->instance->Template->provides[itfRef->provideIndex].name);
return CM_INTERFACE_ALREADY_BINDED;