Open
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.