Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

fsl_shw_return_t sah_deregister ( fsl_shw_uco_t user_ctx  ) 

Sends a request to deregister this user.

Sends a request to deregister this user

Parameters:
[in,out] user_ctx Info on user being deregistered.
Returns:
A return code of type fsl_shw_return_t.

Definition at line 337 of file km_adaptor.c.

References FSL_RETURN_OK_S, sah_handle_deregistration(), and fsl_shw_uco_t::sahara_openfd.

Referenced by fsl_shw_deregister_user().

{
      fsl_shw_return_t status = FSL_RETURN_OK_S;

      if (user_ctx->sahara_openfd == 0) {
            status = sah_handle_deregistration(user_ctx);
            user_ctx->sahara_openfd = -1; /* set to 'no registered */
      }

      return status;
}


Generated by  Doxygen 1.6.0   Back to index