@@ -104,7 +104,7 @@ static inline int getmiso(const struct spi_device *spi)
104
104
*/
105
105
106
106
static u32 spi_gpio_txrx_word_mode0 (struct spi_device * spi ,
107
- unsigned nsecs , u32 word , u8 bits , unsigned flags )
107
+ unsigned int nsecs , u32 word , u8 bits , unsigned int flags )
108
108
{
109
109
if (unlikely (spi -> mode & SPI_LSB_FIRST ))
110
110
return bitbang_txrx_le_cpha0 (spi , nsecs , 0 , flags , word , bits );
@@ -113,7 +113,7 @@ static u32 spi_gpio_txrx_word_mode0(struct spi_device *spi,
113
113
}
114
114
115
115
static u32 spi_gpio_txrx_word_mode1 (struct spi_device * spi ,
116
- unsigned nsecs , u32 word , u8 bits , unsigned flags )
116
+ unsigned int nsecs , u32 word , u8 bits , unsigned int flags )
117
117
{
118
118
if (unlikely (spi -> mode & SPI_LSB_FIRST ))
119
119
return bitbang_txrx_le_cpha1 (spi , nsecs , 0 , flags , word , bits );
@@ -122,7 +122,7 @@ static u32 spi_gpio_txrx_word_mode1(struct spi_device *spi,
122
122
}
123
123
124
124
static u32 spi_gpio_txrx_word_mode2 (struct spi_device * spi ,
125
- unsigned nsecs , u32 word , u8 bits , unsigned flags )
125
+ unsigned int nsecs , u32 word , u8 bits , unsigned int flags )
126
126
{
127
127
if (unlikely (spi -> mode & SPI_LSB_FIRST ))
128
128
return bitbang_txrx_le_cpha0 (spi , nsecs , 1 , flags , word , bits );
@@ -131,7 +131,7 @@ static u32 spi_gpio_txrx_word_mode2(struct spi_device *spi,
131
131
}
132
132
133
133
static u32 spi_gpio_txrx_word_mode3 (struct spi_device * spi ,
134
- unsigned nsecs , u32 word , u8 bits , unsigned flags )
134
+ unsigned int nsecs , u32 word , u8 bits , unsigned int flags )
135
135
{
136
136
if (unlikely (spi -> mode & SPI_LSB_FIRST ))
137
137
return bitbang_txrx_le_cpha1 (spi , nsecs , 1 , flags , word , bits );
@@ -150,7 +150,7 @@ static u32 spi_gpio_txrx_word_mode3(struct spi_device *spi,
150
150
*/
151
151
152
152
static u32 spi_gpio_spec_txrx_word_mode0 (struct spi_device * spi ,
153
- unsigned nsecs , u32 word , u8 bits , unsigned flags )
153
+ unsigned int nsecs , u32 word , u8 bits , unsigned int flags )
154
154
{
155
155
flags = spi -> controller -> flags ;
156
156
if (unlikely (spi -> mode & SPI_LSB_FIRST ))
@@ -160,7 +160,7 @@ static u32 spi_gpio_spec_txrx_word_mode0(struct spi_device *spi,
160
160
}
161
161
162
162
static u32 spi_gpio_spec_txrx_word_mode1 (struct spi_device * spi ,
163
- unsigned nsecs , u32 word , u8 bits , unsigned flags )
163
+ unsigned int nsecs , u32 word , u8 bits , unsigned int flags )
164
164
{
165
165
flags = spi -> controller -> flags ;
166
166
if (unlikely (spi -> mode & SPI_LSB_FIRST ))
@@ -170,7 +170,7 @@ static u32 spi_gpio_spec_txrx_word_mode1(struct spi_device *spi,
170
170
}
171
171
172
172
static u32 spi_gpio_spec_txrx_word_mode2 (struct spi_device * spi ,
173
- unsigned nsecs , u32 word , u8 bits , unsigned flags )
173
+ unsigned int nsecs , u32 word , u8 bits , unsigned int flags )
174
174
{
175
175
flags = spi -> controller -> flags ;
176
176
if (unlikely (spi -> mode & SPI_LSB_FIRST ))
@@ -180,7 +180,7 @@ static u32 spi_gpio_spec_txrx_word_mode2(struct spi_device *spi,
180
180
}
181
181
182
182
static u32 spi_gpio_spec_txrx_word_mode3 (struct spi_device * spi ,
183
- unsigned nsecs , u32 word , u8 bits , unsigned flags )
183
+ unsigned int nsecs , u32 word , u8 bits , unsigned int flags )
184
184
{
185
185
flags = spi -> controller -> flags ;
186
186
if (unlikely (spi -> mode & SPI_LSB_FIRST ))
0 commit comments