diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-01-03 05:05:10 (GMT) |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-07 02:42:53 (GMT) |
commit | 636b1ec8575a60fb305ad6e3ede5e79d287754b6 (patch) | |
tree | 9accfd2330d5fd73509edaaf0b51930e267d81a5 /include/sound/atmel-abdac.h | |
parent | 4d8c08c71ea261a31855e4919fa8b875cd507ef3 (diff) | |
download | linux-636b1ec8575a60fb305ad6e3ede5e79d287754b6.tar.xz |
atari_NCR5380: Reset bus on driver initialization if required
Merge the bus reset code from NCR5380.c into atari_NCR5380.c. This allows
for removal of a lot of duplicated code conditional on the RESET_BOOT
macro (in the next patch).
The atari_NCR5380.c fork lacks the do_reset() and NCR5380_poll_politely()
routines from NCR5380.c, so introduce them. They are indispensible. Keep
the two implementations in sync.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/sound/atmel-abdac.h')
0 files changed, 0 insertions, 0 deletions