/* restore_state - Load configuration of current chip @pl022: SSP driver private data structure  */
static void restore_state(struct pl022 *pl022)
/* restore_state - Load configuration of current chip @pl022: SSP driver private data structure  */
static void restore_state(struct pl022 *pl022)
{
	struct chip_data *chip = pl022->cur_chip;
	writew(chip->cr0, SSP_CR0(pl022->virtbase));
	writew(chip->cr1, SSP_CR1(pl022->virtbase));
	writew(chip->dmacr, SSP_DMACR(pl022->virtbase));
	writew(chip->cpsr, SSP_CPSR(pl022->virtbase));
	writew(DISABLE_ALL_INTERRUPTS, SSP_IMSC(pl022->virtbase));
	writew(CLEAR_ALL_INTERRUPTS, SSP_ICR(pl022->virtbase));
}