summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2017-11-29 15:55:03 +0100
committerChristian Gromm <christian.gromm@microchip.com>2017-11-29 15:55:03 +0100
commitfc604a05237602424e7d6dcd1f2eb15eda0ae957 (patch)
tree856a9af856f5626432c2ea78117b177c5b3d7c59
parent9e152228f5948acb12c201a873d0581691a9fa74 (diff)
recipes-config: unicens-config: fix driver configuration script
This patch is needed to fix the driver configuration script which mixes up the channel settings. Change-Id: I0a83a8b9b6de68fc509b75728f28e71e4ebf2feb Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
-rwxr-xr-xrecipes-config/unicens-config/files/unicens-config.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-config/unicens-config/files/unicens-config.sh b/recipes-config/unicens-config/files/unicens-config.sh
index 35b578130..c54e64615 100755
--- a/recipes-config/unicens-config/files/unicens-config.sh
+++ b/recipes-config/unicens-config/files/unicens-config.sh
@@ -111,8 +111,8 @@ echo tx > /sys/devices/virtual/most/mostcore/devices/mdev2/ep02/set_direction 2>
echo isoc > /sys/devices/virtual/most/mostcore/devices/mdev2/ep02/set_datatype 2>/dev/null
echo 8 > /sys/devices/virtual/most/mostcore/devices/mdev2/ep02/set_number_of_buffers 2>/dev/null
echo 7520 > /sys/devices/virtual/most/mostcore/devices/mdev2/ep02/set_buffer_size 2>/dev/null
-echo 188 > /sys/devices/virtual/most/mostcore/devices/mdev2/ep01/set_subbuffer_size 2>/dev/null
-echo 2 > /sys/devices/virtual/most/mostcore/devices/mdev2/ep01/set_packets_per_xact 2>/dev/null
+echo 188 > /sys/devices/virtual/most/mostcore/devices/mdev2/ep02/set_subbuffer_size 2>/dev/null
+echo 2 > /sys/devices/virtual/most/mostcore/devices/mdev2/ep02/set_packets_per_xact 2>/dev/null
echo mdev2:ep02:inic-usb-itx1 > /sys/devices/virtual/most/mostcore/aims/cdev/add_link 2>/dev/null