dev_info(&chip->pci_dev->dev, "wait for ready failed\n"); 
dev_info(chip->dev, "wait for ready failed\n"); 
static int nsc_wait_for_ready(struct tpm_chip *chip){	int status;	unsigned long stop;	/* status immediately available check */	status = inb(chip->vendor->base + NSC_STATUS);	if (status & NSC_STATUS_OBF)		status = inb(chip->vendor->base + NSC_DATA);	if (status & NSC_STATUS_RDY)		return 0;	/* wait for status */	stop = jiffies + 100;	do {		msleep(TPM_TIMEOUT);		status = inb(chip->vendor->base + NSC_STATUS);		if (status & NSC_STATUS_OBF)			status = inb(chip->vendor->base + NSC_DATA);		if (status & NSC_STATUS_RDY)			return 0;	}	while (time_before(jiffies, stop));	dev_info(&chip->pci_dev->dev, "wait for ready failed\n");	return -EBUSY;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/e659a3fe2027b19ecd8abb7ad79253672763454b/tpm_nsc.c/buggy/drivers/char/tpm/tpm_nsc.c