Skip to content

Need a way to understand whether the FX_DRIVER_INIT request is issued from fx_media_format() or fx_media_open() API. #79

@rahmanih

Description

@rahmanih

Hi,

Both fx_media_open() and fx_media_format() APIs perform an "FX_DRIVER_INIT" request to the low-level driver.

media_ptr -> fx_media_driver_request = FX_DRIVER_INIT;

media_ptr -> fx_media_driver_request = FX_DRIVER_INIT;

The low-level driver, may need to do specific processing depending on the request source APIs. (for example: erase the memory before formatting)
But there isn't any way to let the low-level driver know the caller APIs.

regards
Haithem.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Discussion

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions