st-hal: Add error handling check

Add error handling check for conf_levels.

Change-Id: Iaa4f786a4e0be71870b87a49787d3ec4c9750567
1 file changed