summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2017-11-29 15:55:03 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-01 12:08:33 +0000
commit77eb5ee0570afa0b5cb859d5be9c0bdb5d36a31d (patch)
tree59f8573e6c06d3b4b95b62f7866bf5420b3cfc7a
parente048bd0679b8731162956804eaa4cefcc2a85885 (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