Charger: Silent error retrieving CHARGE_PORT_NONE input
Charger: Silent error retrieving CHARGE_PORT_NONE input

In OCPC, the charger_get_params() function will regularly be calling
charger_get_input_current_limit() with the active charger chip.  This
may be CHARGE_PORT_NONE if the board is not currently charging.  In
these cases, silently return an invalid status.

BRANCH=None
BUG=None
TEST=on drawcia, confirm no console spam with no active charger chip

Signed-off-by: Diana Z <cb2016afc7183e5356c690dc63b4ba817470501a@chromium.org>
Change-Id: I9a6b85584488f9381b1e1b8d7527b7ebd68a75e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2580838
Reviewed-by: Aseda Aboagye <12c9b286316a940fd31c24070da5ab64cdd4d0e7@chromium.org>
Commit-Queue: Aseda Aboagye <12c9b286316a940fd31c24070da5ab64cdd4d0e7@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec