Skip to content

Commit

Permalink
mmc: mmc_spi: Convert 'multiple' to be boolean in mmc_spi_data_do()
Browse files Browse the repository at this point in the history
Convert 'multiple' to be boolean in mmc_spi_data_do() since
it's initially being used as boolean.

Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
  • Loading branch information
andy-shev authored and storulf committed Dec 14, 2021
1 parent 2f4788f commit 1fdafaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mmc/host/mmc_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ mmc_spi_command_send(struct mmc_spi_host *host,
static void
mmc_spi_setup_data_message(
struct mmc_spi_host *host,
int multiple,
bool multiple,
enum dma_data_direction direction)
{
struct spi_transfer *t;
Expand Down Expand Up @@ -862,7 +862,7 @@ mmc_spi_data_do(struct mmc_spi_host *host, struct mmc_command *cmd,
enum dma_data_direction direction;
struct scatterlist *sg;
unsigned n_sg;
int multiple = (data->blocks > 1);
bool multiple = (data->blocks > 1);
u32 clock_rate;
unsigned long timeout;

Expand Down

0 comments on commit 1fdafaa

Please sign in to comment.