usb: rockchip: on K_FW_LBA_WRITE_10 remove magic block size of 512 bytes
authorAlberto Panizzo <alberto@amarulasolutions.com>
Thu, 12 Jul 2018 11:05:49 +0000 (13:05 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 8 Aug 2018 20:22:08 +0000 (22:22 +0200)
commit92c7edae5eb2235bcfd19823cc00177d2463bd60
tree39de7db1cac62f3c09cb0a818c25e02cf305f9c1
parent4f6dc4c893de44e8d91008516c835e06b450e310
usb: rockchip: on K_FW_LBA_WRITE_10 remove magic block size of 512 bytes

As well as in K_FW_LBA_READ_10 and K_FW_LBA_ERASE_10 take device's
block size from f_rkusb->desc->blksz instead of the fixed 512 bytes.

Keep original behaviour of retry probing assigned block device on
every host request to manage late SDCard plugs.

Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
drivers/usb/gadget/f_rockusb.c