- Added blank line after #ifndef FX_MEDIA_STATISTICS_DISABLE for style consistency
- Used local driver variable instead of media_ptr->fx_media_driver_entry
- Removed early return on flush failure so FX_DRIVER_UNINIT is always
called after FX_DRIVER_INIT, preventing driver resource leaks
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* _fx_fault_tolerant_cleanup_FAT_chain(): Add checks to prevent starting a new cluster deletion session in some corner cases where the end of the chain is reached.
* Fixed formatting of previous commit.
Main Changes
------------
- In fx_media_format(), set fx_media_driver_status to FX_MEDIA_INVALID
to indicate the request originates from a format call.
- In fx_media_open(), set fx_media_driver_status to FX_MEDIA_NOT_OPEN
to indicate the request originates from an open call.
Fixed issues
-------------
-Issue #79
Signed-off-by: Haithem Rahmani <haithem.rahmani@st.com>