Skip to content

Commit

Permalink
Merge branch 'fix/fsl-dspi' of git://git.kernel.org/pub/scm/linux/ker…
Browse files Browse the repository at this point in the history
…nel/git/broonie/spi into spi-fsl-dspi

Conflicts:
	drivers/spi/spi-fsl-dspi.c
  • Loading branch information
broonie committed Apr 7, 2015
2 parents 95bf15f + e689d6d commit 63031ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/spi/spi-fsl-dspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ static void hz_to_spi_baud(char *pbr, char *br, int speed_hz,
int i, j;

scale_needed = clkrate / speed_hz;
if (clkrate % speed_hz)
scale_needed++;

for (i = 0; i < ARRAY_SIZE(brs); i++)
for (j = 0; j < ARRAY_SIZE(pbr_tbl); j++) {
Expand Down

0 comments on commit 63031ed

Please sign in to comment.