aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/pata_cmd640.c
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2024-04-09 16:37:42 +0200
committerGravatar Martin K. Petersen <martin.petersen@oracle.com> 2024-04-11 21:37:49 -0400
commit70a7949335e5f6f2095f918214f4d2c521db78a9 (patch)
treef7faf90a34591ee99c25f43c3ef7f9d6049145c4 /drivers/ata/pata_cmd640.c
parentscsi: pmcraid: Switch to using ->device_configure (diff)
downloadlinux-70a7949335e5f6f2095f918214f4d2c521db78a9.tar.gz
linux-70a7949335e5f6f2095f918214f4d2c521db78a9.tar.bz2
linux-70a7949335e5f6f2095f918214f4d2c521db78a9.zip
scsi: usb-storage: Switch to using ->device_configure
Switch to the ->device_configure method instead of ->slave_configure and update the block limits on the passed in queue_limits instead of using the per-limit accessors. Also use the proper atomic queue limit update helpers and freeze the queue when updating max_hw_sectors from sysfs. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20240409143748.980206-18-hch@lst.de Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ata/pata_cmd640.c')
0 files changed, 0 insertions, 0 deletions