/* RETURNS: 1 if SATA spd configuration is needed, 0 otherwise.  */
static int sata_set_spd_needed(struct ata_link *link)
/* RETURNS: 1 if SATA spd configuration is needed, 0 otherwise.  */
static int sata_set_spd_needed(struct ata_link *link)
{
	u32 scontrol;
	if (sata_scr_read(link, SCR_CONTROL, &scontrol))
		return 1;
	return __sata_set_spd_needed(link, &scontrol);
}