/* s3c_hsotg_ep0_mps - turn max packet size into register setting @mps: The maximum packet size in bytes.  */
static u32 s3c_hsotg_ep0_mps(unsigned int mps)
/* s3c_hsotg_ep0_mps - turn max packet size into register setting @mps: The maximum packet size in bytes.  */
static u32 s3c_hsotg_ep0_mps(unsigned int mps)
{
	switch (mps) {
	case 64:
		return S3C_D0EPCTL_MPS_64;
	case 32:
		return S3C_D0EPCTL_MPS_32;
	case 16:
		return S3C_D0EPCTL_MPS_16;
	case 8:
		return S3C_D0EPCTL_MPS_8;
	}
	WARN_ON(1);
	return (u32)-1;
}