Skip to content

Commit

Permalink
[Decode] Fix media reset count regkey read error
Browse files Browse the repository at this point in the history
Media reset count could not be read from report path previously, it will cause reset counter incorrect.
  • Loading branch information
hayden-sun authored and intel-mediadev committed Oct 12, 2023
1 parent d320ebe commit e812d7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
** | 0 | Reserved for DL, but not used now |
\*--------------------------------------------------------------------------*/
#define MEDIA_USER_SETTING_INTERNAL 0x1
#define MEDIA_USER_SETTING_INTERNAL_REPORT 0x4

#define __MEDIA_USER_FEATURE_VALUE_ENABLE_SOFTPIN "Enable Softpin"
#define __MEDIA_USER_FEATURE_VALUE_DISABLE_KMD_WATCHDOG "Disable KMD Watchdog"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ std::string Configure::GetReadPath(
{
return def->GetSubPath();
}
else if (option == MEDIA_USER_SETTING_INTERNAL_REPORT)
{
return m_statedReportPath;
}
else
{
return GetExternalPath(option);
Expand Down

0 comments on commit e812d7e

Please sign in to comment.