From: H Hartley Sweeten Date: Mon, 2 Jul 2012 21:26:24 +0000 (-0700) Subject: staging: comedi: s626: fix the number of dio channels X-Git-Tag: v3.6-rc1~100^2~418 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c14d1769ba81ed084adb450d2fa1bacaee3cd2c7;p=pandora-kernel.git staging: comedi: s626: fix the number of dio channels The first digital i/o subdevice has its n_chan set to S626_DIO_CHANNELS which is defined as 48. This is actually the total number of channels provided by all three digital i/o subdevices. Each subdevice only has 16 channels. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed