sim: bfin: fix inverted W1C logic
authorMike Frysinger <vapier@gentoo.org>
Thu, 24 Mar 2011 03:17:14 +0000 (03:17 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 24 Mar 2011 03:17:14 +0000 (03:17 +0000)
commit9922f80319007ace0ad526d70019b3b5fee72a8d
tree7b6d8f6a4ada526ce0ffbfe49df57c50fd82f1b3
parent2d2bab5b21dda6842a044364fc6082722c2befc1
sim: bfin: fix inverted W1C logic

When I originally wrote the w1c helper funcs, I used it in a few places.
Then I forgot how it worked and when I later documented it, I described
the 3rd arg in the exact opposite way it is actually used.  This error
propagated to a bunch of devices registers that were not explicitly
tested (a bunch of the devices are stubs which merely exist to say "no
device is connected" to make device drivers happy).

So once the documentation is unscrewed, fix all of the broken call sites.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 files changed:
sim/bfin/ChangeLog
sim/bfin/devices.h
sim/bfin/dv-bfin_cec.c
sim/bfin/dv-bfin_emac.c
sim/bfin/dv-bfin_eppi.c
sim/bfin/dv-bfin_gpio.c
sim/bfin/dv-bfin_jtag.c
sim/bfin/dv-bfin_nfc.c
sim/bfin/dv-bfin_otp.c
sim/bfin/dv-bfin_ppi.c
sim/bfin/dv-bfin_rtc.c
sim/bfin/dv-bfin_spi.c
sim/bfin/dv-bfin_twi.c
sim/bfin/dv-bfin_uart2.c