greybus: es2: dynamically allocate array for cport <-> ep mapping
In order to be able to dynamically determine the number of CPorts supported by the UniPro IP instead of hardcoding the value we need to dynamically allocate the array that is doing the cport-ep mapping. Signed-off-by: NFabien Parent <fparent@baylibre.com> Reviewed-by: NJohan Hovold <johan@hovoldconsulting.com> Signed-off-by: NJohan Hovold <johan@hovoldconsulting.com>
Showing
想要评论请 注册 或 登录