Message ID | 4A413BB2.8060704@harris.com |
---|---|
State | New, archived |
Headers | show |
--- spi_bitbang.c.orig 2009-06-23 16:21:43.000000000 -0400 +++ spi_bitbang.c 2009-06-23 16:22:21.000000000 -0400 @@ -302,13 +302,10 @@ list_for_each_entry (t, &m->transfers, transfer_list) { - /* override or restore speed and wordsize */ - if (t->speed_hz || t->bits_per_word) { - setup_transfer = bitbang->setup_transfer; - if (!setup_transfer) { - status = -ENOPROTOOPT; - break; - } + setup_transfer = bitbang->setup_transfer; + if (!setup_transfer) { + status = -ENOPROTOOPT; + break; } if (setup_transfer) { status = setup_transfer(spi, t);