fix NULL pointer deref in 7i65 driver