if (status != -EINVAL && (status & ACPI_EC_FLAG_BURST)) { ACPI_DEBUG_PRINT((ACPI_DB_ERROR,"------->status fail\n")); return_VALUE(-EINVAL); } }else ACPI_DEBUG_PRINT((ACPI_DB_INFO,"already be in Non-burst mode \n")); ACPI_DEBUG_PRINT((ACPI_DB_INFO,"leaving burst mode\n")); 
} 
acpi_ec_leave_burst_mode (	struct acpi_ec		*ec){	int			status =0;	ACPI_FUNCTION_TRACE("acpi_ec_leave_burst_mode");	atomic_set(&ec->leaving_burst , 1);	status = acpi_ec_read_status(ec);	if (status != -EINVAL &&		(status & ACPI_EC_FLAG_BURST)){		ACPI_DEBUG_PRINT((ACPI_DB_INFO,"leaving burst mode\n"));		acpi_hw_low_level_write(8, ACPI_EC_BURST_DISABLE, &ec->command_addr);		status = acpi_ec_wait(ec, ACPI_EC_FLAG_IBF);		if (status){			acpi_enable_gpe(NULL, ec->gpe_bit, ACPI_NOT_ISR);			ACPI_DEBUG_PRINT((ACPI_DB_ERROR,"------->wait fail\n"));			return_VALUE(-EINVAL);		}		acpi_enable_gpe(NULL, ec->gpe_bit, ACPI_NOT_ISR);		status = acpi_ec_read_status(ec);		if (status != -EINVAL &&			(status & ACPI_EC_FLAG_BURST)) {			ACPI_DEBUG_PRINT((ACPI_DB_ERROR,"------->status fail\n"));			return_VALUE(-EINVAL);		}	}else		ACPI_DEBUG_PRINT((ACPI_DB_INFO,"already be in Non-burst mode \n"));	ACPI_DEBUG_PRINT((ACPI_DB_INFO,"leaving burst mode\n"));	return_VALUE(0);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/668d74c04c16bb69de564e25e85dd94eeb0175d9/ec.c/buggy/drivers/acpi/ec.c