Skip to content

docs: require device state restoration at lifecycle boundaries - #1616

Merged
rickwierenga merged 1 commit into
mainfrom
docs-device-state-restoration
Nov 11, 2026
Merged

rickwierenga merged 1 commit into
mainfrom
docs-device-state-restoration

Conversation

@rickwierenga

Copy link
Copy Markdown
Member

Require device drivers to leave the device in its original state after each setup/stop lifecycle or command. The guide specifies saving and restoring original memory, register, and configuration values, with cleanup on errors, cancellation, and partial setup failures.

Validation: git diff --check passed; confirmed the change adds only this rule to the device driver guide. Documentation only; no hardware operations were run.

@rickwierenga
rickwierenga requested a review from a team as a code owner November 11, 2026 22:26
@rickwierenga
rickwierenga merged commit 7c1dc1c into main Nov 11, 2026
25 checks passed
@rickwierenga
rickwierenga deleted the docs-device-state-restoration branch November 11, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant