fd: clean sancus_write()