/* sa1111_disable_device - disable an on-chip SA1111 function block @sadev: SA1111 function block device to disable  */
void sa1111_disable_device(struct sa1111_dev *sadev)
/* sa1111_disable_device - disable an on-chip SA1111 function block @sadev: SA1111 function block device to disable  */
void sa1111_disable_device(struct sa1111_dev *sadev)
{
	struct sa1111 *sachip = sa1111_chip_driver(sadev);
	unsigned long flags;
	unsigned int val;
	spin_lock_irqsave(&sachip->lock, flags);
	val = sa1111_readl(sachip->base + SA1111_SKPCR);
	sa1111_writel(val & ~sadev->skpcr_mask, sachip->base + SA1111_SKPCR);
	spin_unlock_irqrestore(&sachip->lock, flags);
}