hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/siox/siox-core.c
....@@ -835,6 +835,8 @@
835835
836836 err_device_register:
837837 /* don't care to make the buffer smaller again */
838
+ put_device(&sdevice->dev);
839
+ sdevice = NULL;
838840
839841 err_buf_alloc:
840842 siox_master_unlock(smaster);