Check the error and return NOT_SUPPORTED when write to sysfs. Change-Id: Idaa91816197413643552e230a483b79500d44e08 [ROCm/amdsmi commit: 145868ad72]
145868ad72