[PATCH] via82cxxx: handle error condition properly