Servo: Fix clobber_ok usage.
Clobber_ok allows us to overload signals from different overlays,
i.e. a board may have certain signals other boards will not.
Currently however if a board tries to clobber a signal that does not
exist for all boards then adding of the signal fails. This change
instead only replaces the signal if it already exists and if not
just treats it as a regular new signal.
TEST=Ran locally and ensured that clobbering an unexistant signal
Reviewed-by: Richard Barnette <firstname.lastname@example.org>
Commit-Queue: Simran Basi <email@example.com>
Reviewed-by: Simran Basi <firstname.lastname@example.org>
Tested-by: Simran Basi <email@example.com>
2 files changed