Clean up invalid pointer/value asserts by returning the error status to the caller in the below spectral module files 1. target_if_spectral_sim.c Change-Id: Ibc59e7703dcad9cbc9309a6ad96f5279cafb538d CRs-Fixed: 3591982