kernel/eka/drivers/medmmc/medmmc.cpp
changeset 259 57b9594f5772
parent 200 73ea206103e6
child 271 dc268b18d709
equal deleted inserted replaced
247:d8d70de2bd36 259:57b9594f5772
  2723 	OstTraceExt3(TRACE_FLOW, DMMCMEDIADRIVERFLASH_ENGAGEANDSETREQUEST_ENTRY, "DMmcMediaDriverFlash::EngageAndSetRequest;aRequest=%d;aCurrent=%d;this=%x", (TInt) aRequest, aCurrent, (TUint) this);
  2723 	OstTraceExt3(TRACE_FLOW, DMMCMEDIADRIVERFLASH_ENGAGEANDSETREQUEST_ENTRY, "DMmcMediaDriverFlash::EngageAndSetRequest;aRequest=%d;aCurrent=%d;this=%x", (TInt) aRequest, aCurrent, (TUint) this);
  2724 	__ASSERT_DEBUG(iSession != NULL, Panic(ECFSessPtrNull));
  2724 	__ASSERT_DEBUG(iSession != NULL, Panic(ECFSessPtrNull));
  2725 
  2725 
  2726 	iMedReq = aRequest;
  2726 	iMedReq = aRequest;
  2727 	SetCurrentConsumption(aCurrent);
  2727 	SetCurrentConsumption(aCurrent);
       
  2728 
       
  2729 	// Reset the card pointer just in case the stack has changed it.
       
  2730 	iSession->SetCard(iCard);
  2728 
  2731 
  2729 	TInt r = InCritical();
  2732 	TInt r = InCritical();
  2730 	if (r == KErrNone)
  2733 	if (r == KErrNone)
  2731 		{
  2734 		{
  2732 		r = iSession->Engage();
  2735 		r = iSession->Engage();