From: Lukasz Majewski Date: Fri, 4 May 2012 12:17:09 +0000 (+0200) Subject: usb:hsotg:samsung: Determine number of EPs from HW configuration register X-Git-Tag: v3.5-rc1~149^2~139^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3f489b2b658e530f5cdefe4d38c60cf13453e43;p=pandora-kernel.git usb:hsotg:samsung: Determine number of EPs from HW configuration register This commit adds support for determining of EPs number during run time. Configuration is read from a HW configuration register in a specially created s3c_hsotg_hw_cfg function. Moreover it was necessary to defer at probe allocation of the struct s3c_hsotg_ep instances until number of endpoints is known. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed