OpenAMP / open-amp

The main OpenAMP library implementing RPMSG, Virtio, and Remoteproc for RTOS etc
https://www.openampproject.org/
Other
706 stars 288 forks source link

remoteproc: clear bitmap when stop/shutdown #522

Closed CV-Bowen closed 10 months ago

CV-Bowen commented 11 months ago

remoteproc: clear bitmap in remoteproc_stop()

Fix parse res_table failed when repeat start the remoteproc. If we don't clear the bitmap it will failed in handle_vdev_rsc() -> remoteproc_allocate_id()