/* Clears the "media was changed" bit so that we know when it changes again in the future.  */
static int alauda_ack_media(struct us_data *us)
/* Clears the "media was changed" bit so that we know when it changes again in the future.  */
static int alauda_ack_media(struct us_data *us)
{
	unsigned char command;
	if (MEDIA_PORT(us) == ALAUDA_PORT_XD)
		command = ALAUDA_ACK_XD_MEDIA_CHANGE;
	else
		command = ALAUDA_ACK_SM_MEDIA_CHANGE;
	return usb_stor_ctrl_transfer(us, us->send_ctrl_pipe,
		command, 0x40, 0, 1, NULL, 0);
}