maybe fix program not exiting
All checks were successful
Build kernel module / build (1:6.12.93-1+rpt1, bookworm) (pull_request) Successful in 1m1s
Build kernel module / build (1:6.18.34-1+rpt1, trixie) (pull_request) Successful in 1m13s
Build kernel module / package (pull_request) Successful in 20s
Build kernel module / release (pull_request) Has been skipped
All checks were successful
Build kernel module / build (1:6.12.93-1+rpt1, bookworm) (pull_request) Successful in 1m1s
Build kernel module / build (1:6.18.34-1+rpt1, trixie) (pull_request) Successful in 1m13s
Build kernel module / package (pull_request) Successful in 20s
Build kernel module / release (pull_request) Has been skipped
This commit is contained in:
parent
8bb6058a04
commit
6c549b164c
@ -286,6 +286,10 @@ static void run_state_machine(void)
|
||||
bool eoi;
|
||||
enum iec_rx rc;
|
||||
|
||||
if (kthread_should_stop()) {
|
||||
iec_data_release();
|
||||
return;
|
||||
}
|
||||
if (db_reset_asserted())
|
||||
goto reset;
|
||||
|
||||
@ -313,6 +317,10 @@ static void run_state_machine(void)
|
||||
/* LISTENER: data phase */
|
||||
emit_record(IEC_KIND_EVENT, IEC_EV_ATN_RELEASED, IEC_FLAG_ADDRESSED);
|
||||
for (;;) {
|
||||
if (kthread_should_stop()) {
|
||||
iec_data_release();
|
||||
return;
|
||||
}
|
||||
if (db_reset_asserted())
|
||||
goto reset;
|
||||
if (db_atn_asserted()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user