Merge "hal: Add API support to stop input stream"