diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2025-06-09 12:40:46 +0300 | 
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2025-06-09 12:40:46 +0300 | 
| commit | 34c55367af96f62e89221444f04487440ebc6487 (patch) | |
| tree | fdb36ba67d7dea09455b55037e26043b7e051ef9 /drivers/mmc/core/queue.c | |
| parent | 7247efca0dcbc8ac6147db9200ed1549c0662465 (diff) | |
| parent | 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff) | |
| download | linux-34c55367af96f62e89221444f04487440ebc6487.tar.xz | |
Merge drm/drm-next into drm-intel-next
Sync to v6.16-rc1, among other things to get the fixed size GENMASK_U*()
and BIT_U*() macros.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/mmc/core/queue.c')
| -rw-r--r-- | drivers/mmc/core/queue.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/core/queue.c b/drivers/mmc/core/queue.c index 3ba62f825b84..284856c8f655 100644 --- a/drivers/mmc/core/queue.c +++ b/drivers/mmc/core/queue.c @@ -184,9 +184,9 @@ static void mmc_queue_setup_discard(struct mmc_card *card,  		return;  	lim->max_hw_discard_sectors = max_discard; -	if (mmc_can_secure_erase_trim(card)) +	if (mmc_card_can_secure_erase_trim(card))  		lim->max_secure_erase_sectors = max_discard; -	if (mmc_can_trim(card) && card->erased_byte == 0) +	if (mmc_card_can_trim(card) && card->erased_byte == 0)  		lim->max_write_zeroes_sectors = max_discard;  	/* granularity must not be greater than max. discard */ @@ -352,7 +352,7 @@ static struct gendisk *mmc_alloc_disk(struct mmc_queue *mq,  	};  	struct gendisk *disk; -	if (mmc_can_erase(card)) +	if (mmc_card_can_erase(card))  		mmc_queue_setup_discard(card, &lim);  	lim.max_hw_sectors = min(host->max_blk_count, host->max_req_size / 512);  | 
