vsp-lib: Create a function to get subdev from entity name
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 27 May 2016 12:54:44 +0000 (15:54 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 19 Jun 2016 12:26:01 +0000 (15:26 +0300)
commite0b6971cb5e15529396b0c4795058dec2329f97e
tree7e4f5089cde972cb5503636ab0636d1042e97465
parentb5f052feec329a39d4f176ef07f9b99370c7583d
vsp-lib: Create a function to get subdev from entity name

And use the function in the vsp-runner script instead of duplicating the
same code in multiple locations.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
scripts/vsp-lib.sh
scripts/vsp-runner.sh