-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Open
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: APIChanges to public APIsChanges to public APIsarea: VideoVideo subsystemVideo subsystem
Description
Summary
With #90415, video APIs got improved to perform extra input validation with either __ASSERT_NO_MSG()
or return -EINVAL;
.
There is no complete plan for how to process the input between the application and the drivers.
Describe the solution you'd like
Reduce boilerplate in drivers by moving everything done for each and every driver to the APIs or maybe extra front-end code on top.
Split the input validation concern away from the drivers to making sure all drivers apply the same checks.
Alternatives
Define guidelines for what input has to be validated at the level of the drivers and applications.
Additional Context
ngphibang and avolmat-st
Metadata
Metadata
Assignees
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: APIChanges to public APIsChanges to public APIsarea: VideoVideo subsystemVideo subsystem