msm: ipa: fix bridge cleanup following failed bridge setup

If IPA bridge (between A2 and IPA) fails to be setup for any
reason (for e.g. A2-BAM not being registered), cleanup that
follows should undo only things that were successful. Currently
the cleanup calls the same function called for teardown which
assumes everything was setup correctly.

Change-Id: Ia61ca57c77069d01bf83d9fa1ab43623f6a02816
Signed-off-by: Ravi Gummadidala <rgummadi@codeaurora.org>
1 file changed