+ break;This should never happen, as adding support for a new SoC should come
+ default:
return -EINVAL;
with an update for all the applicable switch/case statements. It's
useful to let the compiler complain if someone forgets to do so, but
with a default case, you will only see the issue at runtime. Could it be
caught at compile time ?