hal : fix miscellaneous errors

 fix for the following issues
 21746, 21753, 21754, 25319, 67407, 82922, 82923
 82924, 82926, 82929, 91098, 91100, 112335, 112336
 112337.
Change-Id: I66d3a18271a2212345f90f0be6f9cfbf6996fcc3
2 files changed