[PATCH 6.6 486/676] comedi: Flush partial mappings in error case