printk: nbcon: Check for device_{lock,unlock} callbacks

These callbacks are necessary to synchronize ->write_thread callback against other operations using the same device. Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Reviewed-by: John Ogness <john.ogness@linutronix.de> Link: https://patch.msgid.link/20251208-nbcon-device-cb-fix-v2-1-36be8d195123@suse.com Signed-off-by: Petr Mladek <pmladek@suse.com>


Author Marcos Paulo de Souza Committer Petr Mladek Date Commit Parent 4d38b88f
+5 -2
1 changed file
+5 -2
1 changed file