Re: [PATCH v4 6/7] staging: fsl-mc: Add locking to serialize mc_send_command() calls

2015-06-10 Thread Dan Carpenter
On Tue, Jun 09, 2015 at 04:59:07PM -0500, J. German Rivera wrote: > Add a locking mechanism to serialize mc_send_command() calls that use > the same fsl_mc_io object (same MC portal). When the fsl_mc_io object is > created the owner needs to know in which type of context the fsl_mc_io > object is

Re: [PATCH v4 6/7] staging: fsl-mc: Add locking to serialize mc_send_command() calls

2015-06-10 Thread Dan Carpenter
On Tue, Jun 09, 2015 at 04:59:07PM -0500, J. German Rivera wrote: Add a locking mechanism to serialize mc_send_command() calls that use the same fsl_mc_io object (same MC portal). When the fsl_mc_io object is created the owner needs to know in which type of context the fsl_mc_io object is

[PATCH v4 6/7] staging: fsl-mc: Add locking to serialize mc_send_command() calls

2015-06-09 Thread J. German Rivera
Add a locking mechanism to serialize mc_send_command() calls that use the same fsl_mc_io object (same MC portal). When the fsl_mc_io object is created the owner needs to know in which type of context the fsl_mc_io object is going to be used. A flag passed-in to fsl_create_mc_io() will indicate

[PATCH v4 6/7] staging: fsl-mc: Add locking to serialize mc_send_command() calls

2015-06-09 Thread J. German Rivera
Add a locking mechanism to serialize mc_send_command() calls that use the same fsl_mc_io object (same MC portal). When the fsl_mc_io object is created the owner needs to know in which type of context the fsl_mc_io object is going to be used. A flag passed-in to fsl_create_mc_io() will indicate