The Tokyo District Court on Friday ruled in favor of Toshiba Corp. in the Japanese electronics maker’s patent infringement suit against the Japanese unit of South Korea’s Hynix Semiconductor Inc. over its flash memory-related patents.

The court ordered Hynix Semiconductor Japan Inc. to discontinue the sale of products in violation and pay about $66,000 in damages.