]> www.infradead.org Git - users/hch/block.git/commit
uas: switch to using ->device_configure to configure queue limits
authorChristoph Hellwig <hch@lst.de>
Fri, 22 Mar 2024 10:00:49 +0000 (21:00 +1100)
committerChristoph Hellwig <hch@lst.de>
Tue, 9 Apr 2024 05:42:40 +0000 (07:42 +0200)
commitb6d015e5adfeca727b53fe409374e28c4ea7249e
tree5175b19860405104f1816a29c9577bfef813fda9
parent1bfef6013cea9459ed7cc31d990822934cca6e63
uas: switch to using ->device_configure to configure queue limits

Switch to the ->device_configure method instead of ->slave_alloc
and update the block limits on the passed in queue_limits instead
of using the per-limit accessors.

Note that uas was the only driver setting these size limits from
->slave_alloc and not ->slave_configure and this makes it match
everyone else.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/usb/storage/uas.c